Openbravo Issue Tracking System - POS2
View Issue Details
0046475POS2Corepublic2021-05-04 09:062021-06-10 13:43
alostale 
gorka_gil 
normalminorhave not tried
closedfixed 
5
 
 
No
0046475: inactivity does not trigger forcefully masterdata refresh in DB
Being inactive after an incremental refresh occurred for more time than the threshold configured in the touchpoint type does not update the local DB.
1. In backoffice configure touchpoint type to trigger incremental refresh and force masterdata refresh on inactivite to 1 minute each
2. Log in pos2
3. Update the name of one of the products that is in use in the keypad
4. Wait for one minute (to trigger masterdata refresh fetch)
5. Wait for another minute with no activity (to trigger forceful DB refresh)
6. Switch to Orders window and back to sell (to force keypad re-render)
   -> ERROR: the keypad is not updated to reflect the new product's name
7. Complete current ticket -> this triggers update and the keypad is finally rendered with the new name
No tags attached.
Issue History
2021-05-04 09:06alostaleNew Issue
2021-05-04 09:06alostaleAssigned To => Retail
2021-05-04 09:06alostaleResolution time => 1623708000
2021-05-04 09:06alostaleTriggers an Emergency Pack => No
2021-05-04 09:07alostaleStatusnew => acknowledged
2021-05-27 09:46guilleaerAssigned ToRetail => platform
2021-06-07 13:47gorka_gilAssigned Toplatform => gorka_gil
2021-06-07 19:23hgbotNote Added: 0129158
2021-06-07 19:25hgbotNote Added: 0129159
2021-06-09 17:24guilleaerStatusacknowledged => scheduled
2021-06-10 12:43hgbotNote Added: 0129327
2021-06-10 13:43hgbotResolutionopen => fixed
2021-06-10 13:43hgbotStatusscheduled => closed
2021-06-10 13:43hgbotNote Added: 0129343
2021-06-10 13:43hgbotFixed in Version => RR21Q3
2021-06-10 13:43hgbotNote Added: 0129344

Notes
(0129158)
hgbot   
2021-06-07 19:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/230 [^]
(0129159)
hgbot   
2021-06-07 19:25   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/464 [^]
(0129327)
hgbot   
2021-06-10 12:43   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/464 [^]
(0129343)
hgbot   
2021-06-10 13:43   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/230 [^]
(0129344)
hgbot   
2021-06-10 13:43   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: b11141de6e7d76d5039de0e5d346fc08473f4bde
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2021-06-10T11:42:48+00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/b11141de6e7d76d5039de0e5d346fc08473f4bde [^]

Fixed ISSUE-46475: avoid a block of the masterdata force timeout

If save in db is cancel because another request or save is running,
the save is not done, but the timeout remains there blocking other
timeouts to be added.

With this change we clear the timeouts in any case, to avoid this situation.

---
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
---