Openbravo Issue Tracking System - Modules
View Issue Details
0035395ModulesAnalyticspublic2017-03-01 12:482017-03-21 19:07
ngarcia 
inigosanchez 
immediateminoralways
closedfixed 
5
 
 
caristu
0035395: Swap Axis option in Dimensional Reports window does not return any result, it leaves the screen empty
Swap Axis option in Dimensional Reports window does not return any result, it leaves the screen empty
As group admin role:
   Open OB Analytics window
   Select the Sample Purchase/Sales Order Line Cube
   Add Line Net Amount as a measure
   Add Organization in rows
   Add Product in columns
   Check you can swap axis
   Save it

   Go to Analytics Queries window and select Publish option for previously saved query
   Go to Dimensional Reports window and select the previously created query
   Click on Swap Axis toolbar button and check the screen is empty
No tags attached.
caused by feature request 0032215 closed caristu upgrade analytics stack 
Issue History
2017-03-01 12:48ngarciaNew Issue
2017-03-01 12:48ngarciaAssigned To => platform
2017-03-01 12:48ngarciaResolution time => 1490137200
2017-03-01 12:48ngarciaIssue Monitored: networkb
2017-03-15 12:30inigosanchezStatusnew => scheduled
2017-03-15 12:30inigosanchezAssigned Toplatform => inigosanchez
2017-03-16 14:08inigosanchezNote Added: 0095322
2017-03-16 16:33hgbotCheckin
2017-03-16 16:33hgbotNote Added: 0095331
2017-03-16 16:33hgbotStatusscheduled => resolved
2017-03-16 16:33hgbotResolutionopen => fixed
2017-03-16 16:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/2908233517ae12a21bfcaa8a781ad2cd67646ac3 [^]
2017-03-16 17:11inigosanchezReview Assigned To => caristu
2017-03-21 12:13hgbotCheckin
2017-03-21 12:13hgbotNote Added: 0095463
2017-03-21 18:37caristuNote Added: 0095486
2017-03-21 18:37caristuStatusresolved => closed
2017-03-21 19:07caristuRelationship addedcaused by 0032215

Notes
(0095322)
inigosanchez   
2017-03-16 14:08   
Three manual test have been added in TestLink in order to cover this regression:
 + Platform > [ANA] Analytics > [ANAa] OB Analytics window > ANAa020: Swap Axis option
 + Platform > [ANA] Analytics > [ANAb] Dimensional Reports > ANAb020: Swap Axis option
 + Platform > [ANA] Analytics > [ANAc] Analytics Widget > ANAc020: Swap Axis option
(0095331)
hgbot   
2017-03-16 16:33   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: 2908233517ae12a21bfcaa8a781ad2cd67646ac3
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Thu Mar 16 16:26:27 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/2908233517ae12a21bfcaa8a781ad2cd67646ac3 [^]

Fixed issue 35395:Swap Axis option in Dimensional Reports window is not working

The problem was that swap axis option in Dimensional Reports window was not working. When you open
a Analytic query in a Dimensional Report and swap axis button is clicked the code is assuming that
dimension_list exists.

This dimension_list is used in OB Analytics window but not in Dimensional Reports. Note than
dimension_list is related with the edit panel in OB Analytics window (Measures, Columns, Rows and
Filter sections).

This issue has been resolved by managing this uncontrolled situation. Now when swap axis button is
clicked in Dimensional Report, it is take into account that dimension_list is not exists.

---
M web/org.openbravo.client.analytics/saiku/js/saiku/views/Workspace.js
---
(0095463)
hgbot   
2017-03-21 12:13   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: 79be663ba5d1b2327e0821965c605dc2b7133cfe
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Mon Mar 20 18:07:09 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/79be663ba5d1b2327e0821965c605dc2b7133cfe [^]

Related to issue 35395: Apply proper JS formatting

---
M web/org.openbravo.client.analytics/saiku/js/saiku/views/Workspace.js
---
(0095486)
caristu   
2017-03-21 18:37   
Code review + testing OK.

Fixed in version 1.4.400