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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035338
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] StoreServermajorhave not tried2017-02-22 12:302017-03-30 16:11
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7e7e2694929e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035338: Prevent WebPOS from working server which is reloading

DescriptionWhen 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 ReproduceSee Description
Proposed SolutionSee Description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0095310)
mtaal (manager)
2017-03-16 10:55

Documentation:
Main:
http://wiki.openbravo.com/wiki/Retail:Store_Server_Initial_Data_Reload [^]

Links:
http://wiki.openbravo.com/wiki/Retail:Store_Server#Store_Server_Initial_Data_Reload [^]
http://wiki.openbravo.com/wiki/Retail:Configuration_Guide#Mobile_Server_Definition [^]
(0095400)
hgbot (developer)
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 (developer)
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
---
(0095467)
AugustoMauch (manager)
2017-03-21 12:38

I think something is missing. The MobileServiceRequestAllowedHandler abstract class is defined, but no class extends it.
(0095511)
hgbot (developer)
2017-03-22 16:31

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 7e7e2694929e4d7d28de59fde697315ec4fcecd8
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Mar 22 16:31:43 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7e7e2694929e4d7d28de59fde697315ec4fcecd8 [^]

Fixes issue 35338: Prevent WebPOS from working server which is reloading
Implementation of the MobileServiceRequestAllowedHandler which checks the reload status

---
A src/org/openbravo/retail/storeserver/synchronization/RetailSynchronizationRequestAllowedHandler.java
---
(0095720)
AugustoMauch (manager)
2017-03-30 16:11

Code reviewed and verified

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker