Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030690
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2015-08-27 16:502015-09-29 17:38
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision1b52245d841f
ProjectionnoneETAnoneTarget VersionRR15Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030690: Update/fix of smaller issues related to multi-server behavior

DescriptionWhen 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 ReproduceDefine 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0030765 closedmigueldejuana [HGVOL] Small problems with multiserver 
blocks feature request 0029912 closedmtaal WebPOS Transparent Multi-Server Environments 

-  Notes
(0079785)
hgbot (developer)
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 (developer)
2015-08-28 09:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f8d96319cbf132acdfabbabc2bf9beb16f25629a
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Aug 27 17:43:58 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f8d96319cbf132acdfabbabc2bf9beb16f25629a [^]

Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Handle the case that the address of a server already contains http://, [^] also send priority to the client

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
---
(0079787)
hgbot (developer)
2015-08-28 09:01

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 8821f716b68d5f5fb49bff9364102163cb5fe55c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Aug 27 17:44:31 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8821f716b68d5f5fb49bff9364102163cb5fe55c [^]

Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Allow all orgs of a client in the server orgs column/field

---
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0079788)
hgbot (developer)
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 (developer)
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 (manager)
2015-09-07 09:12

testing some final changes
(0080225)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
2015-09-08 08:51

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 82c497ae0a05133919a3f107b70dac810b8a8b23
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Mon Sep 07 16:10:51 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/82c497ae0a05133919a3f107b70dac810b8a8b23 [^]

Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Solved typo/wrong name usage of localstorage property

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0080235)
hgbot (developer)
2015-09-08 08:52

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: d7f5ac4370672858e4f0901e76c4656b1bd7d11c
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Sep 06 12:46:26 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d7f5ac4370672858e4f0901e76c4656b1bd7d11c [^]

Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Added new/more specific service defs

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0080254)
hgbot (developer)
2015-09-09 08:52

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: e9ce4261557c1fbee6c5fdbc4d1adf3ebbe1f541
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Sep 08 17:20:30 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/e9ce4261557c1fbee6c5fdbc4d1adf3ebbe1f541 [^]

Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Remove the previous offline ping, is handled in the requestrouter

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0080258)
hgbot (developer)
2015-09-09 08:53

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a59ef4930afab77fc6f171f98523a91469ff84ed
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Sep 08 13:09:59 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a59ef4930afab77fc6f171f98523a91469ff84ed [^]

Related to issue 30690: Update/fix of smaller issues related to multi-server behavior
Add new service to mobile services

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0080674)
mtaal (manager)
2015-09-28 18:06

No more changes planned
(0080717)
migueldejuana (developer)
2015-09-29 17:38

Tested and reviewed in 2caa3ccb0a4c

- 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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker