Notes |
|
|
It also happens in RR15Q2. |
|
|
(0078822)
|
hgbot
|
2015-07-15 16:34
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 567c0d9f5dd936456372bfb55df7a0deb2445486
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jul 15 16:34:16 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/567c0d9f5dd936456372bfb55df7a0deb2445486 [^]
Fixed issue 0030349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
When a synchronization of a model returns error callback, we need to be sure that there aren't items to synch before showing red icon.
Actual cashup is synchronized in the login but we do not take into account this cashup.
Red icon tells that we have something pending to synchronize and if we clean cache, we could loose information.
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0079036)
|
hgbot
|
2015-07-23 09:03
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2406debac222185162be55ba99739300a2a092fa
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jul 16 15:17:01 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2406debac222185162be55ba99739300a2a092fa [^]
Fixed issue 0030349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised and HGVOL fix
When a synchronization of a model returns error callback, we need to be sure that there aren't items to synch before showing red icon.
Actual cashup is synchronized in the login but we do not take into account this cashup.
Red icon tells that we have something pending to synchronize and if we clean cache, we could loose information.
HGVOL fix: When we finish iterating all servers(after iterating offline server) we call to fail callback
---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
(0079816)
|
mtaal
|
2015-08-30 07:21
|
|
Hi,
I tested the flow but with me the sync button shows up and the items to sync shows a cashup. But in the resolution text above it is stated that the cashup sync at login should not be taken into account?
gr. Martin |
|
|
|
Now, we have messages to syncronize and so far, there is no way to know if that cashup has info to synchronize in the backend. So we need to take into account and show when we login offline. |
|
|
(0079990)
|
mtaal
|
2015-09-01 12:48
|
|
Revisit this topic to see if we can make a distinction between data syncs/messages which can be ignored when the server is not there.
The cashup messages when logging can in some cases be ignored (if isProcess is not true on the cashup for example).
An idea: the call to the request router should have an extra parameter: dropMessageOnFailure. Default is false/not set. In specific cases a caller can set this to true when the message can be ignored if the server is not available. |
|
|
(0080028)
|
hgbot
|
2015-09-02 18:57
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 38cbb8a34cb5a059ea4d44c1c8cdd08b5f58d468
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Sep 02 16:41:11 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/38cbb8a34cb5a059ea4d44c1c8cdd08b5f58d468 [^]
Fixed issue 0030349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
Do not execute runSyncProcess, we just need process all pending messages when doing Login
---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
|
|
|
(0080030)
|
hgbot
|
2015-09-02 21:48
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: da8422af57741473c3d48688bec5ecdc463d3431
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Sep 02 21:48:33 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/da8422af57741473c3d48688bec5ecdc463d3431 [^]
Fixed issue 0030349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
Do not execute runSyncProcess, we just need process all pending messages when doing Login
---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
(0080256)
|
hgbot
|
2015-09-09 08:52
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: aec8576b64ef56a46a9a0680c77c48f6636b21eb
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Sep 08 18:33:00 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aec8576b64ef56a46a9a0680c77c48f6636b21eb [^]
Related to issue 30349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
Check if a model can be skipped for syncing, if so skip it
---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
|
|
|
(0080260)
|
hgbot
|
2015-09-09 08:53
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 83c54e62ffbf9717bac3deb178d817003a4f1c44
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Sep 08 18:33:40 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/83c54e62ffbf9717bac3deb178d817003a4f1c44 [^]
Fixes issue Related to issue 30349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised
Skip cashup sync if it is the same as a previous cashup which is already synced
---
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
|
|
|
(0080268)
|
mtaal
|
2015-09-09 10:16
(edited on: 2015-09-09 10:17) |
|
Inadvertently resolved the issue, the q4 issue should be set to resolved
|
|
|
|
|
|
(0083546)
|
hgbot
|
2016-01-22 11:27
|
|
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 981b4f96cb1e838e1f5c85cda1d44b9a92ba8154
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jul 16 15:17:01 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/981b4f96cb1e838e1f5c85cda1d44b9a92ba8154 [^]
Fixed issue 0030349: [RR15Q3] A red icon indicating data not synchronised is shown even if nothing needs to be synchronised and HGVOL fix
When a synchronization of a model returns error callback, we need to be sure that there aren't items to synch before showing red icon.
Actual cashup is synchronized in the login but we do not take into account this cashup.
Red icon tells that we have something pending to synchronize and if we clean cache, we could loose information.
HGVOL fix: When we finish iterating all servers(after iterating offline server) we call to fail callback
---
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
|
|
|
(0083763)
|
mtaal
|
2016-02-01 08:59
|
|
Afaics it was unadvertently set to resolved from closed. Setting back to closed. |
|