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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032591
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Retail Modules] Web POSmajorhave not tried2016-04-05 06:262016-04-18 09:25
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9077d31677b2
ProjectionnoneETAnoneTarget VersionRR16Q3
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

0032591: Multi-Server: show better message when transitioning to online/offline

DescriptionIn a multi-server setup with offline/online ([1]) transitioning the webpos is prevented to perform any actions when the server is transitioning from offline to online.

However currently we prevent this by showing the loading page. This does not give enough information. The system should show a message box, preferably the message box can not be closed, the user has to refresh the page. If the message box can be closed then it is still fine as the user does any new action the message box will reappear. Note that several requests can happen at the same time, each detecting transitioning offline/online.

[1]
http://wiki.openbravo.com/wiki/Retail:Store_Server#Online_.26_Offline_concepts_of_Store_Servers [^]
Steps To ReproduceSetup multi-server with 2 servers: central and store
Log-in with webpos on the store server
Do some actions
Stop central
Detect what happens when the user does the next action
Proposed SolutionInstead of the loading message show a message in a message box:

The store is transitioning to offline. You can not perform any actions at this time. Please retry in a few minutes.

or for online:

The store is transitioning to online. You can not perform any actions at this time. Please retry in a few minutes.
TagsNo tags attached.
Attached Filespng file icon Selection_181.png [^] (80,359 bytes) 2016-04-05 06:26

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0085469)
hgbot (developer)
2016-04-06 13:41

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0d2bce8c2a42a5c391b005a0e78ec7ce6c2856ac
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Apr 05 19:51:47 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d2bce8c2a42a5c391b005a0e78ec7ce6c2856ac [^]

Fixes issue 32591: Multi-Server: show better message when transitioning to online/offline
Pass exception to logger

---
M src/org/openbravo/mobile/core/MobileCoreComponentServlet.java
---
(0085470)
hgbot (developer)
2016-04-06 13:41

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 9077d31677b25b18b7d9bb52ffa2ee36a093b1ca
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Apr 05 19:55:43 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9077d31677b25b18b7d9bb52ffa2ee36a093b1ca [^]

Fixes issue 32591: Multi-Server: show better message when transitioning to online/offline
Show confirmation box with correct message when transition reply is received from server.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0085692)
migueldejuana (developer)
2016-04-18 09:25

Tested and reviewed

- Issue History
Date Modified Username Field Change
2016-04-05 06:26 mtaal New Issue
2016-04-05 06:26 mtaal Assigned To => mtaal
2016-04-05 06:26 mtaal File Added: Selection_181.png
2016-04-05 06:26 mtaal Triggers an Emergency Pack => No
2016-04-05 19:50 mtaal Review Assigned To => migueldejuana
2016-04-06 13:41 hgbot Checkin
2016-04-06 13:41 hgbot Note Added: 0085469
2016-04-06 13:41 hgbot Status new => resolved
2016-04-06 13:41 hgbot Resolution open => fixed
2016-04-06 13:41 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d2bce8c2a42a5c391b005a0e78ec7ce6c2856ac [^]
2016-04-06 13:41 hgbot Checkin
2016-04-06 13:41 hgbot Note Added: 0085470
2016-04-06 13:41 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d2bce8c2a42a5c391b005a0e78ec7ce6c2856ac [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9077d31677b25b18b7d9bb52ffa2ee36a093b1ca [^]
2016-04-18 09:25 migueldejuana Note Added: 0085692
2016-04-18 09:25 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker