Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012921Openbravo ERPA. Platformpublic2010-04-09 12:562010-05-18 12:12
psarobe 
alostale 
immediatemajoralways
closedfixed 
5
pi 
2.50MP172.50MP15 
Core
No
0012921: User info pop-up window: Default organization is not working
When you open the user info pop-up and select the role and then the organization, this organization is supposed to be a "default" value so when you create a document (i.e Sales order) the organization combo is populated with the organization you previously selected in the user info pop-up

This is not happening so it's wrong. Even worse if you open again the user info pop-up you don't have selected the organization you previously had selected.
1. Login as Openbravo/openbravo
2. Change the role and select A1 as organization
3. Go to Sales management->Transactions->Sales order
4. Click New and notice that the organization is the combo is not A1 but a different one

This is wrong.

Expected result: The combo should be populated with the A1 organization

5. Open again the user info pop-up. Notice that the organization combo doesn't have the value A1 but a different one.

Expected result: A1 should be in the combo
Regression QA
Issue History
2010-04-09 12:56psarobeNew Issue
2010-04-09 12:56psarobeAssigned To => alostale
2010-04-09 12:56psarobeTag Attached: Regression QA
2010-04-09 15:22hgbotCheckin
2010-04-09 15:22hgbotNote Added: 0026035
2010-04-09 15:22hgbotStatusnew => resolved
2010-04-09 15:22hgbotResolutionopen => fixed
2010-04-09 15:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a3bbaccec99f568a16978fa477019fa7f5551f18 [^]
2010-04-09 15:25alostaleNote Added: 0026036
2010-04-13 11:05psarobeNote Added: 0026101
2010-04-13 11:05psarobeStatusresolved => closed
2010-04-13 11:05psarobeFixed in Version => 2.50MP15
2010-04-14 00:01anonymoussf_bug_id0 => 2986803
2010-04-19 21:13hudsonbotCheckin
2010-04-19 21:13hudsonbotNote Added: 0026444
2010-05-18 12:12gorka_gilTarget Version2.50MP15 => 2.50MP17

Notes
(0026035)
hgbot   
2010-04-09 15:22   
Repository: erp/devel/pi
Changeset: a3bbaccec99f568a16978fa477019fa7f5551f18
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Apr 09 15:34:38 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a3bbaccec99f568a16978fa477019fa7f5551f18 [^]

fixed bug 12921: User info pop-up window: Default organization is not working

---
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
M src/org/openbravo/base/secureApp/LoginUtils.java
---
(0026036)
alostale   
2010-04-09 15:25   
This regression was introduced by user lock project.

The problem was that after changing the role, "logging in" new flag was not set as false. So the next time HSAS was accessed, it reset the session values to the defaults.
(0026101)
psarobe   
2010-04-13 11:05   
Tested, working fine
(0026444)
hudsonbot   
2010-04-19 21:13   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a3bbaccec99f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]