Openbravo Issue Tracking System - Retail Modules
View Issue Details
0030799Retail ModulesOffline Modepublic2015-07-14 11:082015-10-01 12:31
plujan 
migueldejuana 
highminoralways
closedfixed 
5
main 
RR15Q4RR15Q4 
mtaal
No
0030799: [RR15Q4] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
When using the front end in offline mode, a small red icon on the to left corner and a menu entry about data pending to synchronise is shown even if there is no actual data pending to synchronise. See steps.
1. Start in online mode (network connected) by logging in as vallblanca user
2. Create a new ticket for a backpack.
3. Pay it to close the ticket. Check the blue icon shown while synchronising and that the icon disappears when the data has been synchronised.
4. Logout and unplug the network cable to go offline. Log in again as vallblanca user
5. Check that now a red icon is shown and a new menu entry "Pending Sync." was added.
6. Click that entry and see that there is no actual data to synchronise. See attached screenshot.
No tags attached.
related to defect 0030958RR16Q3 closed migueldejuana Success callbacks in the RunSyncProcess are sometimes not executed even if the process finished successfully 
blocks defect 0030349RR15Q4 closed migueldejuana A red icon indicating data not synchronised is shown even if nothing needs to be synchronised 
blocks defect 0031004RR16Q3 closed migueldejuana A red icon indicating data not synchronised is shown even if nothing needs to be synchronised 
Issue History
2015-09-09 10:15mtaalTypedefect => backport
2015-09-09 10:15mtaalTarget Version => RR15Q4
2015-09-09 10:18mtaalSummary[RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised => [RR15Q4] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
2015-09-09 10:18mtaalNote Added: 0080269
2015-09-09 10:18mtaalStatusscheduled => resolved
2015-09-09 10:18mtaalFixed in Version => RR15Q4
2015-09-09 10:18mtaalResolutionopen => fixed
2015-09-10 09:09hgbotCheckin
2015-09-10 09:09hgbotNote Added: 0080306
2015-09-10 09:10hgbotCheckin
2015-09-10 09:10hgbotNote Added: 0080307
2015-09-30 18:18OrekariaRelationship addedrelated to 0030958
2015-10-01 09:34hgbotCheckin
2015-10-01 09:34hgbotNote Added: 0080770
2015-10-01 11:01marvintmTypebackport => defect
2015-10-01 12:29OrekariaRelationship addedblocks 0031004
2015-10-01 12:31OrekariaNote Added: 0080776
2015-10-01 12:31OrekariaStatusresolved => closed

Notes
(0080269)
mtaal   
2015-09-09 10:18   
Is fixed with this commit:

http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/83c54e62ffbf9717bac3deb178d817003a4f1c44 [^]
(0080306)
hgbot   
2015-09-10 09:09   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b940dc901ab1e6ce35f31c117ee5247d45267ef8
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 09 22:14:36 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b940dc901ab1e6ce35f31c117ee5247d45267ef8 [^]

Related to issue 30799: [RR15Q4] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
Add a sendAllMessages to request router, is used to send all messages at login

---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0080307)
hgbot   
2015-09-10 09:10   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 392063878def75e5f2cc8a1009c6cff3e97efd5f
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Sep 09 22:13:36 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/392063878def75e5f2cc8a1009c6cff3e97efd5f [^]

Related to issue 30799: [RR15Q4] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
Sync all messages at login

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0080770)
hgbot   
2015-10-01 09:34   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3071d8bb092e55e7eca3a7275d0d7239bbb4de0d
Author: Rafa Alonso <ral <at> openbravo.com>
Date: Thu Oct 01 09:34:06 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3071d8bb092e55e7eca3a7275d0d7239bbb4de0d [^]

Related to issue 30799: Removed the presend model

Consecuence of the backout of the https://issues.openbravo.com/view.php?id=30958 [^]

---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
(0080776)
Orekaria   
2015-10-01 12:31   
This issue has been closed due to the RR15Q4 freeze.
The issue https://issues.openbravo.com/view.php?id=31004 [^] [^] continue addressing the topic in the next release cycle, RR16Q1