Openbravo Issue Tracking System - POS2
View Issue Details
0046069POS2Corepublic2021-03-13 10:472021-03-15 09:14
caristu 
caristu 
highminoralways
closedfixed 
5
 
 
No
0046069: Allow to validate SynchronizationBuffer messages before persisting them in DB
As a previous stage of synchronizing messages, the SynchronizationBuffer takes the messages from the state and persists them into IndexedDB. Then, when the synchronization starts, the messages are retrieved from database.

It would be nice to have a mechanism to validate messages before persisting them into IndexedDB. This would allow to avoid synchronizing some kind of messages depending on a particular logic.

This mechanism should be extensible: modules should be able to provide their own validation logic
n/a
No tags attached.
Issue History
2021-03-13 10:47caristuNew Issue
2021-03-13 10:47caristuAssigned To => platform
2021-03-13 10:47caristuTriggers an Emergency Pack => No
2021-03-13 10:47caristuIssue generated from0045993
2021-03-13 12:21hgbotNote Added: 0126676
2021-03-15 08:15hgbotResolutionopen => fixed
2021-03-15 08:15hgbotStatusnew => closed
2021-03-15 08:15hgbotNote Added: 0126687
2021-03-15 08:15hgbotFixed in Version => RR21Q2
2021-03-15 08:15hgbotNote Added: 0126688
2021-03-15 09:14caristuAssigned Toplatform => caristu

Notes
(0126676)
hgbot   
2021-03-13 12:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/188 [^]
(0126687)
hgbot   
2021-03-15 08:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/188 [^]
(0126688)
hgbot   
2021-03-15 08:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 1e5e2b7fdb420c82624fe7de82df62799016ac04
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 2021-03-15T08:14:27+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/1e5e2b7fdb420c82624fe7de82df62799016ac04 [^]

Fixes ISSUE-46069: support sync buffer message validation

---
M web-test/model/synchronization-buffer/SynchronizationBuffer.test.js
M web/org.openbravo.mobile.core/app/model/synchronization-buffer/SynchronizationBuffer.js
---