DataTable TableTools .swf scripts in jjwg_Maps module are not working #10420
Labels
Area: Module
Issues & PRs related to modules that do not have specific label
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Severity: Moderate
Key function failed, but no or little impact
Type: Bug
Bugs within the core SuiteCRM codebase
Issue
After making a Map record and opening it from the List View, the map with markers is shown above, while a table with the related records is shown below it. On the top right of the table are several buttons: Copy, CSV, XLS, PDF, and Print. These buttons are not working as expected.
Expected Behavior
Pressing the Copy button should copy the contents of the datatable to the clipboard, pressing the CSV button should prompt the user to save a .csv file or start a download for a .csv file, pressing the PDF button should prompt the user to save a .pdf file or start a download for a .pdf file, and pressing the XLS button should prompt the user to save a .xls file or start a download for a .xls file
Actual Behavior
The mentioned buttons are completely unresponsive. The Print button seems to be working as intended though
Possible Fix
It seems these buttons rely on .swf scripts and it's possible that they have been deprecated since the dismissal of Flash.
A possible fix could be to look into a newer version of DataTable Table Tools (which seems to be the source of these buttons) and how to integrate it into SuiteCRM.
Steps to Reproduce
Context
After setting up Google Maps we realized during testing that these buttons were unresponsive. It's not a particularly critical deal and we've opted to hide these buttons by removing their definition in https://github.com/salesagility/SuiteCRM/blob/hotfix/modules/jjwg_Maps/views/view.map_markers.php#L694-L728
This issue is being opened at the request of @pgorod
Your Environment
The text was updated successfully, but these errors were encountered: