Notes |
|
(0081640)
|
hgbot
|
2015-11-10 12:29
|
|
Repository: erp/devel/pi
Changeset: d14b031058e5216a9fc541734003d33329ee720e
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Nov 09 13:14:03 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d14b031058e5216a9fc541734003d33329ee720e [^]
Fixed issue 0031384: Multi-server: when a user has a different default org in different servers a context changed message is shown
Move common methods to LoginUtils
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
M src/org/openbravo/base/secureApp/HttpSecureAppServlet.java
M src/org/openbravo/base/secureApp/LoginUtils.java
M src/org/openbravo/erpCommon/ad_forms/Role.java
---
|
|
|
(0081641)
|
hgbot
|
2015-11-10 12:30
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9de13c9b90cac3aeccfbff7153429563ebdece53
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Nov 09 13:14:48 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9de13c9b90cac3aeccfbff7153429563ebdece53 [^]
Fixed issue 0031384: Multi-server: when a user has a different default org in different servers a context changed message is shown
Set session when we use token for authentication
---
M src/org/openbravo/mobile/core/authenticate/MobileKeyAuthenticationManager.java
---
|
|
|
(0081850)
|
mtaal
|
2015-11-14 18:32
|
|
Works fine, small thing to solve, the defaults.warehouse in this line:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9de13c9b90cac3aeccfbff7153429563ebdece53#l1.48 [^]
maybe invalid for the organization. Can you add code to check if the warehouse is valid, if it is not valid (so not visible for the authenticationtoken.org) then select a new default org using this standard code:
// Pick the warehouse using the organization
strWarehouse = DefaultOptionsData.getDefaultWarehouse(cp, strClient, "'" + strOrg + "'");
if (strWarehouse == null || strWarehouse.isEmpty()) {
// If no warehouse for the default organization is available, pick using using the
// accessible tree
strWarehouse = DefaultOptionsData.getDefaultWarehouse(cp, strClient, new OrgTree(cp,
strClient).getAccessibleTree(cp, strRole).toString());
} |
|
|
(0081851)
|
mtaal
|
2015-11-14 18:34
|
|
|
|
(0082092)
|
hgbot
|
2015-11-23 13:43
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 4881004e97756cba44cc6a87e2320a7adc0578d0
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Nov 23 13:43:06 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/4881004e97756cba44cc6a87e2320a7adc0578d0 [^]
Fixed issue 0031384: Multi-server: when a user has a different default org in different servers a context changed message is shown
- Check if default org is not currect org to get the default warehouse
---
M src/org/openbravo/mobile/core/authenticate/MobileKeyAuthenticationManager.java
---
|
|
|
|
|
|
(0082474)
|
mtaal
|
2015-12-01 08:53
|
|
|