Openbravo Issue Tracking System - Modules
View Issue Details
0034064ModulesAnalyticspublic2016-09-22 19:122016-10-14 09:09
ngarcia 
caristu 
immediateminoralways
closedfixed 
5
 
 
2016-03-31
https://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/6cd0a6359890 [^]
Production - QA Approved
alostale
0034064: Wrong extension when Exporting to XLS a saved query from OB Analytics window
Wrong extension when Exporting to XLS a saved query from OB Analytics window. Apart from that, the filename is reduced when exporting to all formats (XLS, PDF, CSV). If
As group admin role:
   Create a query in OB Analytics window
   Save it with a name of 15 characters
   Open it
   Click on Export XLS
   Check the file name has been reduced and xls has been added at the end (not as an extension .xls)
   The file cannot be opened automatically if the extension is not modified
   Click on Export CSV and Export PDF
   Check the extension is correct but the filename has been reduced
   Repeat the process with a name shorter than 5 characters
   Check the default names for unsaved queries are used for CSV and PDF
   xls name is used for XLS
- Remove the +"xls" from the export_xls function of WorkspaceToolbar.js

- Check the way the filename is obtained in export_<format> functions
No tags attached.
caused by feature request 0032215 closed caristu upgrade analytics stack 
Issue History
2016-09-22 19:12ngarciaNew Issue
2016-09-22 19:12ngarciaAssigned To => platform
2016-09-22 19:12ngarciaIssue Monitored: networkb
2016-09-22 19:24ngarciaProposed Solution updated
2016-10-03 11:58jfrancesIssue Monitored: jfrances
2016-10-04 18:16ngarciaPriorityhigh => immediate
2016-10-10 09:03caristuAssigned Toplatform => caristu
2016-10-10 09:03caristuStatusnew => scheduled
2016-10-10 10:19hgbotCheckin
2016-10-10 10:19hgbotNote Added: 0090511
2016-10-10 10:19hgbotStatusscheduled => resolved
2016-10-10 10:19hgbotResolutionopen => fixed
2016-10-10 10:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/bbe6d45d33757eb1dcd3692b2f10a31a685f9eb9 [^]
2016-10-10 10:19caristuReview Assigned To => alostale
2016-10-10 10:19caristuIssue Monitored: alostale
2016-10-10 10:20caristuRegression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/6cd0a6359890 [^]
2016-10-10 10:20caristuRegression level => Production - QA Approved
2016-10-10 10:21caristuRegression date => 2016-03-31
2016-10-10 10:21caristuRelationship addedcaused by 0032215
2016-10-14 08:47alostaleNote Added: 0090565
2016-10-14 08:47alostaleStatusresolved => closed
2016-10-14 09:09alostaleNote Added: 0090572

Notes
(0090511)
hgbot   
2016-10-10 10:19   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: bbe6d45d33757eb1dcd3692b2f10a31a685f9eb9
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Mon Oct 10 10:17:30 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/bbe6d45d33757eb1dcd3692b2f10a31a685f9eb9 [^]

fixes issue 34064: Wrong extension when Exporting to XLS a saved query

Saiku version 3.7.4 expects that the saved queries are saved with the .saiku extension. This extension is trimmed when exporting the saved query into XLS/CSV/PDF. But in OB Analytics this extension is not added by default. For this reason we are now adding an extra check to verify if that extension is present. If not, the name of the query will not be sliced in order to prevent the exporting the file without the expected name.

---
M web/org.openbravo.client.analytics/saiku/js/saiku/views/WorkspaceToolbar.js
---
(0090565)
alostale   
2016-10-14 08:47   
code reviewed + tested
(0090572)
alostale   
2016-10-14 09:09   
Published version 1.4.300
http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/sso/ForgeModuleVersionDetail?moduleVersionId=115816D1606545BEB9EF33CC12908BED [^]