Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0035338 | Retail Modules | StoreServer | public | 2017-02-22 12:30 | 2017-03-30 16:11 |
|
Reporter | mtaal | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0035338: Prevent WebPOS from working server which is reloading |
Description | When a store server starts it checks if there is any data to reload from the central server so that store and central are on the same latest data from the start.
During this reload phase the WebPOS user should not be able to work with the store server.
In addition during reload all the import entries should be processed before the WebPOS can work.
The idea is to introduce a block-mode for a server. So that if in this mode the WebPOS can not work with the server and a correct message is given.
This block mode (the client side UI) will also be used if the client/server are in different versions.
|
Steps To Reproduce | See Description |
Proposed Solution | See Description |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2017-02-22 12:30 | mtaal | New Issue | |
2017-02-22 12:30 | mtaal | Assigned To | => mtaal |
2017-02-22 12:30 | mtaal | Triggers an Emergency Pack | => No |
2017-03-16 10:55 | mtaal | Note Added: 0095310 | |
2017-03-19 10:41 | hgbot | Checkin | |
2017-03-19 10:41 | hgbot | Note Added: 0095400 | |
2017-03-19 10:41 | hgbot | Status | new => resolved |
2017-03-19 10:41 | hgbot | Resolution | open => fixed |
2017-03-19 10:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3e4097577bfb7c4b9dd5bf5e9b41eeb614535988 [^] |
2017-03-19 10:43 | hgbot | Checkin | |
2017-03-19 10:43 | hgbot | Note Added: 0095401 | |
2017-03-20 10:48 | mtaal | Review Assigned To | => AugustoMauch |
2017-03-21 12:38 | AugustoMauch | Note Added: 0095467 | |
2017-03-21 12:38 | AugustoMauch | Status | resolved => new |
2017-03-21 12:38 | AugustoMauch | Resolution | fixed => open |
2017-03-22 16:31 | hgbot | Checkin | |
2017-03-22 16:31 | hgbot | Note Added: 0095511 | |
2017-03-22 16:31 | hgbot | Status | new => resolved |
2017-03-22 16:31 | hgbot | Resolution | open => fixed |
2017-03-22 16:31 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3e4097577bfb7c4b9dd5bf5e9b41eeb614535988 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7e7e2694929e4d7d28de59fde697315ec4fcecd8 [^] |
2017-03-30 16:11 | AugustoMauch | Note Added: 0095720 | |
2017-03-30 16:11 | AugustoMauch | Status | resolved => closed |
Notes |
|
(0095310)
|
mtaal
|
2017-03-16 10:55
|
|
|
|
(0095400)
|
hgbot
|
2017-03-19 10:41
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3e4097577bfb7c4b9dd5bf5e9b41eeb614535988
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Mar 19 10:40:32 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3e4097577bfb7c4b9dd5bf5e9b41eeb614535988 [^]
Fixes issue 35338: Prevent WebPOS from working server which is reloading
Implement a way to intercept every request to mobile service and prevent it or send back other response
---
M src/org/openbravo/mobile/core/process/MobileService.java
---
|
|
|
(0095401)
|
hgbot
|
2017-03-19 10:43
|
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 0f988e02c61bdf80fb14033833989fad49744d8b
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sun Mar 19 10:43:02 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/0f988e02c61bdf80fb14033833989fad49744d8b [^]
Related to issue 35338: Prevent WebPOS from working server which is reloading
Implement/add client side logic to prevent user from working with the server while it is reloading
---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/storeserver/synchronization/StoreSynchronizationComponentProvider.java
A web/org.openbravo.retail.storeserver.synchronization/js/serverReloadHandler.js
---
|
|
|
|
I think something is missing. The MobileServiceRequestAllowedHandler abstract class is defined, but no class extends it. |
|
|
(0095511)
|
hgbot
|
2017-03-22 16:31
|
|
|
|
|
Code reviewed and verified |
|