Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010343Openbravo ERPA. Platformpublic2009-08-19 17:572009-08-21 00:00
plujan 
shuehner 
normalmajorhave not tried
closedfixed 
5
pi 
2.50MP4 
Core
No
0010343: An error is displayed when accessing Info window with an user different from System Administrator
If I'm System Administrator, I can see Info window with all its values. But if I change to Client Admin, then an error is displayed. See attach.
1. Enter as System Administrator
2. Navigate to any window
3. Press the top left button with the "i" image to access About box
4. You will see the correct info data.
5. Log out and enter with an Admin user
6. Open about box again
7. Error window with an incorrect Back button is displayed (see attach)
OBPS-Security
has duplicate defect 00112692.50MP10 closed mtaal Info button gives security exception 
png OPS-CU-AboutWindowWithAdminUser.PNG (31,278) 2009-08-19 17:57
https://issues.openbravo.com/file_download.php?file_id=1664&type=bug
png
Issue History
2009-08-19 17:57plujanNew Issue
2009-08-19 17:57plujanAssigned To => alostale
2009-08-19 17:57plujanFile Added: OPS-CU-AboutWindowWithAdminUser.PNG
2009-08-19 17:57plujanTag Attached: commsup_sprint6
2009-08-19 17:57plujanTag Attached: OBPS-Security
2009-08-19 17:57plujanTag Detached: commsup_sprint6
2009-08-19 17:57plujanStatusnew => scheduled
2009-08-19 17:57plujanfix_in_branch => pi
2009-08-20 11:21plujanAssigned Toalostale => marvintm
2009-08-20 12:14marvintmTarget Version => 2.50MP4
2009-08-20 12:14marvintmfix_in_branchpi =>
2009-08-20 17:03hgbotCheckin
2009-08-20 17:03hgbotNote Added: 0019124
2009-08-20 17:03hgbotStatusscheduled => resolved
2009-08-20 17:03hgbotResolutionopen => fixed
2009-08-20 17:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a1c8232b8078c2325c75841efc0228547de1cc2b [^]
2009-08-20 20:20plujanAssigned Tomarvintm => shuehner
2009-08-20 20:20plujanStatusresolved => new
2009-08-20 20:20plujanResolutionfixed => open
2009-08-20 20:20plujanNote Added: 0019152
2009-08-20 20:20plujanStatusnew => scheduled
2009-08-20 20:20plujanfix_in_branch => pi
2009-08-20 20:36hgbotCheckin
2009-08-20 20:36hgbotNote Added: 0019154
2009-08-20 20:36hgbotStatusscheduled => resolved
2009-08-20 20:36hgbotResolutionopen => fixed
2009-08-20 20:36hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/a1c8232b8078c2325c75841efc0228547de1cc2b [^] => http://code.openbravo.com/erp/devel/pi/rev/1d0013f170bf2aef776189e0fc2e0aa5a817a3d3 [^]
2009-08-20 21:07plujanStatusresolved => closed
2009-08-21 00:00anonymoussf_bug_id0 => 2841486
2009-11-09 11:09mtaalRelationship addedhas duplicate 0011269

Notes
(0019124)
hgbot   
2009-08-20 17:03   
Repository: erp/devel/pi
Changeset: a1c8232b8078c2325c75841efc0228547de1cc2b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Aug 20 11:55:31 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a1c8232b8078c2325c75841efc0228547de1cc2b [^]

Fixed issue 10343. About Window should now work with other roles different from System Administrator.

---
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---
(0019152)
plujan   
2009-08-20 20:20   
I still see this message:

      
Error: Error
org.openbravo.base.exception.OBSecurityException: Entity ADReference is not readable by the user 100
(0019154)
hgbot   
2009-08-20 20:36   
Repository: erp/devel/pi
Changeset: 1d0013f170bf2aef776189e0fc2e0aa5a817a3d3
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Aug 20 20:36:30 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1d0013f170bf2aef776189e0fc2e0aa5a817a3d3 [^]

Fixed 10343: Fix info popup for non system administrator users.
- Move out setInAdministratorMode from ActivationKey constructor
- Instead put it into the caller about constructor and other method calls

---
M src/org/openbravo/erpCommon/ad_forms/About.java
M src/org/openbravo/erpCommon/obps/ActivationKey.java
---