Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0036467 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] StoreServer | major | have not tried | 2017-06-26 12:14 | 2017-09-15 13:26 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | mtaal | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR17Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 578ccab4bc6c | ||||
Projection | none | ETA | none | Target Version | RR17Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0036467: Incremental load does not call ready with loading in case of remote models in specific case | |||||||
Description | The normal logic of incremental load calls triggerRead [1] after each locally stored model is reloaded. However in case of remote model [2] or other cases [3] triggerReady is not called. The consequence of this is that if the last model in the queue is a remote model the loading popup remains visible and does not go away. See attached screenshot. [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/fbd548334939/web/org.openbravo.mobile.core/source/data/ob-dal.js#l1606 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/fbd548334939/web/org.openbravo.mobile.core/source/data/ob-dal.js#l1619 [^] [3] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/fbd548334939/web/org.openbravo.mobile.core/source/data/ob-dal.js#l1624 [^] | |||||||
Steps To Reproduce | Set remote product model Install gift card module Set incremental load to 2 minutes or so Login, wait for incremental load to happen | |||||||
Proposed Solution | Call triggerReady here [1] and remove it here [2] [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/fbd548334939/web/org.openbravo.mobile.core/source/data/ob-dal.js#l1564 [^] [2] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/fbd548334939/web/org.openbravo.mobile.core/source/data/ob-dal.js#l1606 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0098022) mtaal (viewer) 2017-07-11 17:39 |
To test this: - enable remote product data preference - set incremental load to happen every 2 minutes - check that incremental load (after login) indeed reloads and shows the webpos screen again |
(0098026) hgbot (developer) 2017-07-11 18:10 |
Repository: retail/backports/3.0RR17Q3/org.openbravo.mobile.core Changeset: 578ccab4bc6c1830296909643985e909d57fedb0 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Tue Jul 11 18:09:58 2017 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/578ccab4bc6c1830296909643985e909d57fedb0 [^] Fixes issue 36467: Incremental load does not call ready with loading in case of remote models in specific case Call triggerready once at the end of the list of models, prevent async issues in this way --- M web/org.openbravo.mobile.core/source/data/ob-dal.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-07-11 17:31 | mtaal | Type | defect => backport |
2017-07-11 17:31 | mtaal | Target Version | => RR17Q3 |
2017-07-11 17:39 | mtaal | Note Added: 0098022 | |
2017-07-11 18:07 | mtaal | Review Assigned To | marvintm => migueldejuana |
2017-07-11 18:07 | mtaal | Steps to Reproduce Updated | View Revisions |
2017-07-11 18:10 | hgbot | Checkin | |
2017-07-11 18:10 | hgbot | Note Added: 0098026 | |
2017-07-11 18:10 | hgbot | Status | scheduled => resolved |
2017-07-11 18:10 | hgbot | Resolution | open => fixed |
2017-07-11 18:10 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/46a1e1d2d9498bc4ea719de1d1d6cf3f89704f80 [^] => http://code.openbravo.com/retail/backports/3.0RR17Q3/org.openbravo.mobile.core/rev/578ccab4bc6c1830296909643985e909d57fedb0 [^] |
2017-09-15 13:26 | marvintm | Review Assigned To | migueldejuana => marvintm |
2017-09-15 13:26 | marvintm | Status | resolved => closed |
2017-09-15 13:26 | marvintm | Fixed in Version | => RR17Q3 |
Copyright © 2000 - 2009 MantisBT Group |