Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030690 | Retail Modules | Web POS | public | 2015-08-27 16:50 | 2015-09-29 17:38 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | RR15Q4 | Fixed in Version | RR15Q4 | |
Merge Request Status | |
Review Assigned To | migueldejuana |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030690: Update/fix of smaller issues related to multi-server behavior |
Description | When testing multi-server behavior the following was noted:
- the synchronizing button was not removed after log in this because there was a store server which was also supporting transactions, so only call models synchronizing for a main server
- an error was thrown if logging in on localhost while localhost was not part of the server list, this because all the requests went to the defined servers, the error was that the SessionActive call did not support cross origin
- the organization field of the server orgs only allowed the * |
Steps To Reproduce | Define multiple main and store servers. Try to set organization in server organizations.
Do not define a server on localhost but login on localhost, context errors are shown.
To test multiserver behavior on a single linux server you can add the following in the hosts file:
127.0.0.1 local1.openbravo.com
127.0.0.1 local2.openbravo.com
127.0.0.1 products.openbravo.com
127.0.0.1 transactions.openbravo.com
127.0.0.1 store1.openbravo.com
127.0.0.1 store2.openbravo.com
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | defect | 0030765 | | closed | migueldejuana | [HGVOL] Small problems with multiserver | blocks | feature request | 0029912 | | closed | mtaal | WebPOS Transparent Multi-Server Environments |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-08-27 16:50 | mtaal | New Issue | |
2015-08-27 16:50 | mtaal | Assigned To | => mtaal |
2015-08-27 16:50 | mtaal | Triggers an Emergency Pack | => No |
2015-08-27 17:40 | mtaal | Description Updated | bug_revision_view_page.php?rev_id=9280#r9280 |
2015-08-28 09:01 | hgbot | Checkin | |
2015-08-28 09:01 | hgbot | Note Added: 0079785 | |
2015-08-28 09:01 | hgbot | Checkin | |
2015-08-28 09:01 | hgbot | Note Added: 0079786 | |
2015-08-28 09:01 | hgbot | Checkin | |
2015-08-28 09:01 | hgbot | Note Added: 0079787 | |
2015-08-28 09:02 | hgbot | Checkin | |
2015-08-28 09:02 | hgbot | Note Added: 0079788 | |
2015-08-30 16:38 | hgbot | Checkin | |
2015-08-30 16:38 | hgbot | Note Added: 0079819 | |
2015-08-30 16:38 | hgbot | Status | new => resolved |
2015-08-30 16:38 | hgbot | Resolution | open => fixed |
2015-08-30 16:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1b52245d841ffb929d1dc4e30917f785a688e202 [^] |
2015-09-07 09:12 | mtaal | Note Added: 0080167 | |
2015-09-07 09:12 | mtaal | Status | resolved => new |
2015-09-07 09:12 | mtaal | Resolution | fixed => open |
2015-09-08 08:51 | hgbot | Checkin | |
2015-09-08 08:51 | hgbot | Note Added: 0080225 | |
2015-09-08 08:51 | hgbot | Checkin | |
2015-09-08 08:51 | hgbot | Note Added: 0080227 | |
2015-09-08 08:51 | hgbot | Checkin | |
2015-09-08 08:51 | hgbot | Note Added: 0080229 | |
2015-09-08 08:51 | hgbot | Checkin | |
2015-09-08 08:51 | hgbot | Note Added: 0080231 | |
2015-09-08 08:52 | hgbot | Checkin | |
2015-09-08 08:52 | hgbot | Note Added: 0080235 | |
2015-09-09 08:52 | hgbot | Checkin | |
2015-09-09 08:52 | hgbot | Note Added: 0080254 | |
2015-09-09 08:53 | hgbot | Checkin | |
2015-09-09 08:53 | hgbot | Note Added: 0080258 | |
2015-09-09 10:07 | mtaal | Relationship added | blocks 0030765 |
2015-09-09 10:08 | mtaal | Relationship added | blocks 0029912 |
2015-09-28 18:06 | mtaal | Status | new => scheduled |
2015-09-28 18:06 | mtaal | Note Added: 0080674 | |
2015-09-28 18:06 | mtaal | Status | scheduled => resolved |
2015-09-28 18:06 | mtaal | Fixed in Version | => RR15Q4 |
2015-09-28 18:06 | mtaal | Resolution | open => fixed |
2015-09-28 18:07 | mtaal | Review Assigned To | => migueldejuana |
2015-09-29 17:38 | migueldejuana | Note Added: 0080717 | |
2015-09-29 17:38 | migueldejuana | Status | resolved => closed |
Notes |
|
(0079785)
|
hgbot
|
2015-08-28 09:01
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 738a049500e2389486e8aa8389d78dd9cf13e040
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Aug 27 17:42:11 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/738a049500e2389486e8aa8389d78dd9cf13e040 [^]
Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Adds subclass of SessionActive servlet which supports CORS
---
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
A src/org/openbravo/mobile/core/login/MobileSessionActive.java
---
|
|
|
(0079786)
|
hgbot
|
2015-08-28 09:01
|
|
|
|
(0079787)
|
hgbot
|
2015-08-28 09:01
|
|
|
|
(0079788)
|
hgbot
|
2015-08-28 09:02
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5d639ef522cd8b09d27d5d99576343cb8dd21f48
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Aug 27 17:45:21 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5d639ef522cd8b09d27d5d99576343cb8dd21f48 [^]
Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Handle the case that store servers can also handle transactions, caused the sync button to remain displayed
---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
(0079819)
|
hgbot
|
2015-08-30 16:38
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1b52245d841ffb929d1dc4e30917f785a688e202
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Aug 28 14:03:21 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1b52245d841ffb929d1dc4e30917f785a688e202 [^]
Fixes issue 30690: Update/fix of smaller issues related to multi-server behavior
Add a preference to control enablement of multi-server behavior
---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
---
|
|
|
(0080167)
|
mtaal
|
2015-09-07 09:12
|
|
testing some final changes |
|
|
(0080225)
|
hgbot
|
2015-09-08 08:51
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: a75bab5f120b0752ffde5bb54d888cb5f0ae9585
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Aug 31 10:05:08 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/a75bab5f120b0752ffde5bb54d888cb5f0ae9585 [^]
Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
When an error in token handling of authentication, forward to standard authentication
---
M src/org/openbravo/mobile/core/authenticate/MobileKeyAuthenticationManager.java
---
|
|
|
(0080227)
|
hgbot
|
2015-09-08 08:51
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5a80c56195c6b03362e9fdd892dfb6a8721ee144
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Fri Sep 04 16:48:14 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5a80c56195c6b03362e9fdd892dfb6a8721ee144 [^]
Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Prevent wrong show of message that synchronization was not done, prevent double
data sync success message
---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
(0080229)
|
hgbot
|
2015-09-08 08:51
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1df45f5e6cc59e45cb467480df2f4e847ecdca17
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Sep 06 12:42:42 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1df45f5e6cc59e45cb467480df2f4e847ecdca17 [^]
Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Added refresh token logic and preferences and new service definition, requestrouter
now uses indexOf to match service names
---
M src-db/database/sourcedata/AD_REF_LIST.xml
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M src/org/openbravo/mobile/core/authenticate/GetToken.java
M src/org/openbravo/mobile/core/authenticate/MobileAuthenticationKeyUtils.java
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
(0080231)
|
hgbot
|
2015-09-08 08:51
|
|
|
|
(0080235)
|
hgbot
|
2015-09-08 08:52
|
|
|
|
(0080254)
|
hgbot
|
2015-09-09 08:52
|
|
|
|
(0080258)
|
hgbot
|
2015-09-09 08:53
|
|
|
|
(0080674)
|
mtaal
|
2015-09-28 18:06
|
|
|
|
|
Tested and reviewed in 2caa3ccb0a4c |
|