Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036181Retail ModulesStoreServerpublic2017-06-06 11:222017-07-04 19:08
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
RR17Q4 
marvintm
No
0036181: Handle refresh page action by the user - during processing of synchronized transaction
In synchronized mode there is a change the user has to wait some time. Users then sometimes/often press f5 keeping the ticket/client in an inconsistent state.

Proposed changes:
- in processing popup add message to not refresh the page
- when user tries to refresh the page (capture f5 or exit warning) show a 'do you want to leave the page'
- log that a user tries to refresh the page (capture f5 or exit warning)
- after refresh/f5 in the middle of processing ticket, ensure that the user returns in a consistent stage: either by removing the ticket or by showing the ticket again
Put breakpoint in processing code on the server
Create and send a ticket in synchronized mode
When at breakpoint refresh the browser
See description
No tags attached.
Issue History
2017-06-06 11:22mtaalNew Issue
2017-06-06 11:22mtaalAssigned To => mtaal
2017-06-06 11:22mtaalTriggers an Emergency Pack => No
2017-06-26 18:29mtaalTarget VersionRR17Q3 =>
2017-06-28 22:48hgbotCheckin
2017-06-28 22:48hgbotNote Added: 0097747
2017-06-28 22:48hgbotStatusnew => resolved
2017-06-28 22:48hgbotResolutionopen => fixed
2017-06-28 22:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bb5ed8f4204fb6d483b86d67a403fc8cd7cc3d43 [^]
2017-06-29 10:58mtaalReview Assigned To => marvintm
2017-06-29 12:54mtaalStatusresolved => new
2017-06-29 12:54mtaalResolutionfixed => open
2017-06-29 12:57hgbotCheckin
2017-06-29 12:57hgbotNote Added: 0097762
2017-07-04 09:16hgbotCheckin
2017-07-04 09:16hgbotNote Added: 0097820
2017-07-04 09:16hgbotStatusnew => resolved
2017-07-04 09:16hgbotResolutionopen => fixed
2017-07-04 09:16hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bb5ed8f4204fb6d483b86d67a403fc8cd7cc3d43 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/df7fc959e76bd6742c2fc7f2d9454afdb16f1de5 [^]
2017-07-04 19:08marvintmStatusresolved => closed
2017-07-04 19:08marvintmFixed in Version => RR17Q4

Notes
(0097747)
hgbot   
2017-06-28 22:48   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: bb5ed8f4204fb6d483b86d67a403fc8cd7cc3d43
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jun 28 22:47:59 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bb5ed8f4204fb6d483b86d67a403fc8cd7cc3d43 [^]

Fixes issue 36181: Handle refresh page action by the user - during processing of synchronized transaction
Change synchronized mode message, prevent refresh and page leave message

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0097762)
hgbot   
2017-06-29 12:57   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 843db6756a3e5990966af7c0840ea12936de5365
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Jun 29 12:56:47 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/843db6756a3e5990966af7c0840ea12936de5365 [^]

Related to issue 36181: Handle refresh page action by the user - during processing of synchronized transaction
Backout of changeset, repush in q4, also solve error of using (OB.Data.synchronizedCurrentOnkeydown)

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---
(0097820)
hgbot   
2017-07-04 09:16   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: df7fc959e76bd6742c2fc7f2d9454afdb16f1de5
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jul 04 09:15:51 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/df7fc959e76bd6742c2fc7f2d9454afdb16f1de5 [^]

Fixes issue 36181: Handle refresh page action by the user - during processing of synchronized transaction
Change synchronized mode message, prevent refresh and page leave message

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-utilities.js
---