Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020103Openbravo ERPA. Platformpublic2012-03-23 16:492012-04-26 19:32
marvintm 
guilleaer 
normalminoralways
closedfixed 
5
 
3.0MP11 
Core
No
0020103: The User Info Widget doesn't fill the Warehouse combo correctly in some circumstances
Sometimes the Warehouse combo in the User Info Widget is not correctly filled. In those cases, if you change the role, and then change it to the original value, it is then filled correctly.
- Log in the application with the Openbravo user
- Switch to System Administrator role
- Now, switch to the F&BEspaña - Employee role. Notice that the warehouse combo should have been filled, but instead, it is still empty.
- Switch to the F&BAdmin role. Notice that the warehouse is now correctly filled.
The User Info Widget action handler needs to be verified, so that it returns the correct data (which I think it does).

Then the ob-user-profile-widget.js needs to be checked, to see what is going wrong.
No tags attached.
Issue History
2012-03-23 16:49marvintmNew Issue
2012-03-23 16:49marvintmAssigned To => guilleaer
2012-03-23 16:49marvintmModules => Core
2012-04-02 17:19hgbotCheckin
2012-04-02 17:19hgbotNote Added: 0047320
2012-04-02 17:19hgbotStatusnew => resolved
2012-04-02 17:19hgbotResolutionopen => fixed
2012-04-02 17:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/963e08f35b32177bb54408da3091bfb4b3127626 [^]
2012-04-02 17:34guilleaerNote Added: 0047321
2012-04-13 13:44hudsonbotCheckin
2012-04-13 13:44hudsonbotNote Added: 0047565
2012-04-25 16:46hgbotCheckin
2012-04-25 16:46hgbotNote Added: 0047964
2012-04-25 16:46marvintmStatusresolved => closed
2012-04-25 16:46marvintmFixed in Version => 3.0MP11
2012-04-26 19:32hudsonbotCheckin
2012-04-26 19:32hudsonbotNote Added: 0048097

Notes
(0047320)
hgbot   
2012-04-02 17:19   
Repository: erp/devel/pi
Changeset: 963e08f35b32177bb54408da3091bfb4b3127626
Author: Guillermo Álvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Apr 02 17:08:23 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/963e08f35b32177bb54408da3091bfb4b3127626 [^]

fixed issue 20103: Warehouses combo is filled correctly being logged as SA

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
---
(0047321)
guilleaer   
2012-04-02 17:34   
After this fix, when the user was logged as SA the warehouses combo was being generated wrong.

Test plan:

1.Logged as F&B Inc group admin
2.Select "F&B INC - Employee" in combo of roles
3.check which warehouses can be selected depending on the selected organization.
4.Log in as System Administrator
5.Select "F&B INC - Employee" in combo of roles
6.Check that warehouses which can be selected are the same as in point 3

This fix is not risky
(0047565)
hudsonbot   
2012-04-13 13:44   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/5093a7ea6dbb [^]

Maturity status: Test
(0047964)
hgbot   
2012-04-25 16:46   
Repository: erp/devel/pi
Changeset: 1616586eedf36ee9dcc3e971de491b501c47012f
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Apr 25 16:45:19 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1616586eedf36ee9dcc3e971de491b501c47012f [^]

Related to issue 20103. Formatted file.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
---
(0048097)
hudsonbot   
2012-04-26 19:32   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/70a717a9ffa1 [^]

Maturity status: Test