Openbravo Issue Tracking System - POS2
View Issue Details
0046915POS2Corepublic2021-06-01 08:372021-07-15 13:41
caristu 
jarmendariz 
highmajorhave not tried
closedfixed 
5
 
 
No
0046915: No UI feedback in case of having failed messages in the synchronization buffer queue
If there is an error while processing a synchronization buffer message, the synchronization buffer handles it, avoiding the message removal from the queue until it is correctly synchronized.

In that case there is no UI feedback informing about this, the message queue may be growing with messages pending to be synchronized and users can't notice about this.
0) Apply the attached patch in mobile.core module which simulates an error while synchronizing the order with the backend when its finished. Run ant build to deploy the change.
1) Create and ticket, add a product and pay it.
2) The background synchronization of the ticket with the backend failed and no message was shown in the UI. You can also check with dev tools that the number of enqueued messages is increasing.
Add a listener to the synchronization buffer that shows a message in the UI when a backend sync message fails.
No tags attached.
related to defect 0046914 closed prakashmurugesan88 Errors sending email must be caught 
related to feature request 0047244 acknowledged Triage Platform Base Pending to synchronize list should be updated in real-time 
depends on backport 0047008TAP closed jarmendariz No UI feedback in case of having failed messages in the synchronization buffer queue 
diff syncFail.diff (1,450) 2021-07-12 13:46
https://issues.openbravo.com/file_download.php?file_id=15998&type=bug
Issue History
2021-06-01 08:37caristuNew Issue
2021-06-01 08:37caristuAssigned To => platform
2021-06-01 08:37caristuFile Added: printError.diff
2021-06-01 08:37caristuTriggers an Emergency Pack => No
2021-06-01 08:37caristuIssue generated from0046914
2021-06-01 08:37caristuRelationship addedrelated to 0046914
2021-06-01 08:39caristuResolution time => 1624312800
2021-06-07 15:07guilleaerStatusnew => scheduled
2021-06-07 15:07guilleaerStatusscheduled => acknowledged
2021-06-14 21:59jarmendarizAssigned Toplatform => jarmendariz
2021-06-24 15:48jarmendarizRelationship addedrelated to 0047244
2021-07-12 13:27hgbotNote Added: 0130371
2021-07-12 13:45jarmendarizFile Deleted: printError.diff
2021-07-12 13:45jarmendarizStatusacknowledged => scheduled
2021-07-12 13:46jarmendarizFile Added: syncFail.diff
2021-07-12 13:50jarmendarizSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=22866#r22866
2021-07-12 13:50jarmendarizProposed Solution updated
2021-07-14 09:45dmiguelezResolution time1624312800 => 1628028000
2021-07-15 13:41hgbotNote Added: 0130511
2021-07-15 13:41hgbotResolutionopen => fixed
2021-07-15 13:41hgbotStatusscheduled => closed
2021-07-15 13:41hgbotNote Added: 0130512

Notes
(0130371)
hgbot   
2021-07-12 13:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/588 [^]
(0130511)
hgbot   
2021-07-15 13:41   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/588 [^]
(0130512)
hgbot   
2021-07-15 13:41   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: d91b6cd83a6caccaf660ca156ca7734a7220e7df
Author: Javier Armendáriz <javier.armendariz@openbravo.com>
Date: 2021-07-15T11:41:00+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/d91b6cd83a6caccaf660ca156ca7734a7220e7df [^]

Fixed ISSUE-46915: Adding a sync buffer listener to show an error message when a synchronization with backend fails

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web-jspack/org.openbravo.core2/src/authentication/loginInitActions.js
---