Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034064
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Analyticsminoralways2016-09-22 19:122016-10-14 09:09
ReporterngarciaView Statuspublic 
Assigned Tocaristu 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbbe6d45d3375
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date2016-03-31
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/6cd0a6359890 [^]
Regression levelProduction - QA Approved
Review Assigned Toalostale
Regression introduced in release
Summary

0034064: Wrong extension when Exporting to XLS a saved query from OB Analytics window

DescriptionWrong 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
Steps To ReproduceAs 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
Proposed Solution- Remove the +"xls" from the export_xls function of WorkspaceToolbar.js

- Check the way the filename is obtained in export_<format> functions
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0032215 closedcaristu upgrade analytics stack 

-  Notes
(0090511)
hgbot (developer)
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 (manager)
2016-10-14 08:47

code reviewed + tested
(0090572)
alostale (manager)
2016-10-14 09:09

Published version 1.4.300
http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/sso/ForgeModuleVersionDetail?moduleVersionId=115816D1606545BEB9EF33CC12908BED [^]

- Issue History
Date Modified Username Field Change
2016-09-22 19:12 ngarcia New Issue
2016-09-22 19:12 ngarcia Assigned To => platform
2016-09-22 19:12 ngarcia Issue Monitored: networkb
2016-09-22 19:24 ngarcia Proposed Solution updated
2016-10-03 11:58 jfrances Issue Monitored: jfrances
2016-10-04 18:16 ngarcia Priority high => immediate
2016-10-10 09:03 caristu Assigned To platform => caristu
2016-10-10 09:03 caristu Status new => scheduled
2016-10-10 10:19 hgbot Checkin
2016-10-10 10:19 hgbot Note Added: 0090511
2016-10-10 10:19 hgbot Status scheduled => resolved
2016-10-10 10:19 hgbot Resolution open => fixed
2016-10-10 10:19 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/bbe6d45d33757eb1dcd3692b2f10a31a685f9eb9 [^]
2016-10-10 10:19 caristu Review Assigned To => alostale
2016-10-10 10:19 caristu Issue Monitored: alostale
2016-10-10 10:20 caristu Regression introduced by commit => https://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/6cd0a6359890 [^]
2016-10-10 10:20 caristu Regression level => Production - QA Approved
2016-10-10 10:21 caristu Regression date => 2016-03-31
2016-10-10 10:21 caristu Relationship added caused by 0032215
2016-10-14 08:47 alostale Note Added: 0090565
2016-10-14 08:47 alostale Status resolved => closed
2016-10-14 09:09 alostale Note Added: 0090572


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker