Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013856Openbravo ERPZ. Otherspublic2010-07-01 15:412010-12-09 16:03
shuehner 
mtaal 
urgentmajorhave not tried
closedfixed 
5
2.50 
 
User Interface Application
No
0013856: Can't access i.e. Report General Ledger with Openbravo Admin role, where in classic layout this works
Trying to access this report using the Openbravo Admin role leads to an error:

You do not have sufficient privileges to access this page

However using same role in the classic popup works fine.

Use the application menu with openbrvo admin role to go to:

financial management
accounting
analysis tools
report general ledger
No tags attached.
Issue History
2010-07-01 15:41shuehnerNew Issue
2010-07-01 15:41shuehnerAssigned To => mtaal
2010-07-01 15:44shuehnerNote Added: 0028949
2010-07-01 15:45shuehnerNote Added: 0028950
2010-07-01 15:47shuehnerNote Added: 0028951
2010-07-01 15:58shuehnerNote Added: 0028952
2010-07-02 11:19hgbotCheckin
2010-07-02 11:19hgbotNote Added: 0028976
2010-07-02 11:19hgbotStatusnew => resolved
2010-07-02 11:19hgbotResolutionopen => fixed
2010-07-02 11:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.client.navigationbarcomponents/rev/df16d7cb7c26b6ff09ba3597a0f9faab9223834a [^]
2010-07-02 11:19hgbotCheckin
2010-07-02 11:19hgbotNote Added: 0028977
2010-07-02 11:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/mods/org.openbravo.client.navigationbarcomponents/rev/df16d7cb7c26b6ff09ba3597a0f9faab9223834a [^] => http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/f5f7e661dfd6f35e3bb0cc8728f25a5ac1aebb75 [^]
2010-07-02 16:01shuehnerNote Added: 0029009
2010-07-02 16:01shuehnerStatusresolved => closed
2010-12-09 16:03anonymoussf_bug_id0 => 3133301

Notes
(0028949)
shuehner   
2010-07-01 15:44   
Probable cause by comparing call to report in both layouts:

New layout call to access the report is:
GET /openbravo//ad_reports/ReportGeneralLedger.html?Command=BUTTON800001

This command parameter value seems to be completely unrelated to the report and not accepted by the reports' servlet leading to the servlet not handling the request and using this call to the error page instead 'pageError(response);'
(0028950)
shuehner   
2010-07-01 15:45   
Same error happens at least when calling the 'Bank Report' also.
(0028951)
shuehner   
2010-07-01 15:47   
Note that both of those manual reports are shown in the normal page in the classic layout but are opened inside a popup when using the new layout
(0028952)
shuehner   
2010-07-01 15:58   
Also happening with delete client.

Counter examples (working)
- export client
- mmc
(0028976)
hgbot   
2010-07-02 11:19   
Repository: erp/mods/org.openbravo.client.navigationbarcomponents
Changeset: df16d7cb7c26b6ff09ba3597a0f9faab9223834a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jul 02 11:19:31 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.navigationbarcomponents/rev/df16d7cb7c26b6ff09ba3597a0f9faab9223834a [^]

Fixes issue 13856: Can't access i.e. Report General Ledger with Openbravo Admin role, where in classic layout this works

---
M src/org/openbravo/client/navigationbarcomponents/QuickLaunchDataSource.java
M src/org/openbravo/client/navigationbarcomponents/templates/application_menu.js.ftl
M src/org/openbravo/client/navigationbarcomponents/templates/quick_launch.js.ftl
---
(0028977)
hgbot   
2010-07-02 11:19   
Repository: erp/mods/org.openbravo.client.application
Changeset: f5f7e661dfd6f35e3bb0cc8728f25a5ac1aebb75
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Jul 02 11:19:48 2010 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.client.application/rev/f5f7e661dfd6f35e3bb0cc8728f25a5ac1aebb75 [^]

Fixes issue 13856: Can't access i.e. Report General Ledger with Openbravo Admin role, where in classic layout this works

---
M src/org/openbravo/client/application/MenuManager.java
---
(0029009)
shuehner   
2010-07-02 16:01   
Now opening of reports/processes with UIpattern=manual work from both the application menu and the quick launch widget.