Openbravo Issue Tracking System - Modules
View Issue Details
0037494ModulesAdvanced Warehouse Operationspublic2017-12-15 17:072018-02-06 18:15
guilleaer 
guilleaer 
normalmajoralways
closedfixed 
5
 
 
marvintm
0037494: [AWOFE] Task synchronized being online appear again in FE once the connection is recovered
[AWO FE] Task synchronized being online appear again in FE once the connection is recovered
Login in AWO MObile
Go to offline
Sync some task in offline
Recover online mode
Press f5
Confirmed tasks appears again in the FE (WRONG!)
Press f5 again -> tasks have dissapeared


It happens because tasks are retrived from backend at the same time that they are being processed, so the query to retrieve them still answer with tasks which are not yet processed in the backend.



Use the localStorage to save those tasks which were synchronized recently
No tags attached.
Issue History
2017-12-15 17:07guilleaerNew Issue
2017-12-15 17:07guilleaerAssigned To => guilleaer
2017-12-15 17:26hgbotCheckin
2017-12-15 17:26hgbotNote Added: 0101069
2017-12-15 17:26hgbotStatusnew => resolved
2017-12-15 17:26hgbotResolutionopen => fixed
2017-12-15 17:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/b1c3c1c319751ec0b301f9705effbbb9fe12ccbf [^]
2017-12-15 19:17guilleaerSummary[AWO FE] Task synchronized being online appear again in FE once the connection is recovered => [AWOFE] Task synchronized being online appear again in FE once the connection is recovered
2018-02-06 18:15marvintmReview Assigned To => marvintm
2018-02-06 18:15marvintmStatusresolved => closed
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0101069)
hgbot   
2017-12-15 17:26   
Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: b1c3c1c319751ec0b301f9705effbbb9fe12ccbf
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Dec 15 17:26:36 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/b1c3c1c319751ec0b301f9705effbbb9fe12ccbf [^]

Fixed issue 37494: Tasks recently sync being offline are not shown again

---
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/models/centralbroker.js
M web/org.openbravo.warehouse.advancedwarehouseoperations/source/utils/obawo-utils.js
---