Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0041931 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | sometimes | 2019-09-13 09:20 | 2019-10-24 17:03 | |||
Reporter | migueldejuana | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR19Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c30e24e38ea6 | ||||
Projection | none | ETA | none | Target Version | RR19Q4 | |||
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 | 0041931: Polling could be not launched due to asynchrony | |||||||
Description | In polling we have messages to poll in a "notStarted" collection. At some point we move messages from there to messagesByModel in dataSyncModels to be used in polling process. To launch polling process we check "noStarted" collection but we do not check messagesByModel, so if we move messages from noStarted to messagesByModel and then we check if we have to launch polling, it won't be launched. | |||||||
Steps To Reproduce | n/a | |||||||
Proposed Solution | Check both notStarted and messagesByModel | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0114922) hgbot (developer) 2019-10-04 12:51 |
Repository: retail/backports/3.0RR19Q4/org.openbravo.mobile.core Changeset: c30e24e38ea642b41c4a03c2064cb0f3316b52b3 Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Fri Sep 27 13:44:12 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/c30e24e38ea642b41c4a03c2064cb0f3316b52b3 [^] Fixed issue 41931: Polling could be not launched due to asynchrony - Check also messagesByModel because we could moved messages from noStarted to messagesByModel due to asynchrony --- M web/org.openbravo.mobile.core/source/model/ob-pollingrequesthandler.js --- |
(0114923) hgbot (developer) 2019-10-04 12:51 |
Repository: retail/backports/3.0RR19Q4/org.openbravo.mobile.core Changeset: e03bbacf7072f62ab7e28b2ff0c1193c9c489056 Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Fri Sep 27 14:31:23 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/e03bbacf7072f62ab7e28b2ff0c1193c9c489056 [^] Related to issue 41931: change the way to check if there is pending models to start the polling --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0114924) hgbot (developer) 2019-10-04 12:51 |
Repository: retail/backports/3.0RR19Q4/org.openbravo.mobile.core Changeset: e199b75af9c365d7af13e10024b8f8db884eff04 Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Wed Oct 02 17:30:30 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/e199b75af9c365d7af13e10024b8f8db884eff04 [^] Related to issue 41931: when retry a polling it start a new process, but if is already running this new process should be terminated --- M web/org.openbravo.mobile.core/source/model/ob-pollingrequesthandler.js --- |
(0114925) gorka_gil (administrator) 2019-10-04 12:52 edited on: 2019-10-04 12:52 |
Repository: retail/backports/3.0RR19Q4/pi-mobile Changeset: 7d1026a1402b1c816da8e3d9066642c4f27563b2 Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Wed Oct 02 14:14:32 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/pi-mobile/rev/7d1026a1402b1c816da8e3d9066642c4f27563b2 [^] Related to issue 41811: Fix loyalty tests in oracle --- M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/terminals/WebPOSExtModulesLoyaltyTerminalHelper.java --- |
(0114947) gorka_gil (administrator) 2019-10-08 10:57 |
reopen because breaks awo |
(0114948) hgbot (developer) 2019-10-08 11:00 |
Repository: retail/backports/3.0RR19Q4/org.openbravo.mobile.core Changeset: 728560a398a42ff746aa1d56e42d0b6b72f5f12a Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com> Date: Mon Oct 07 13:14:23 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/728560a398a42ff746aa1d56e42d0b6b72f5f12a [^] Related to issue 41931: Backed out changeset e03bbacf7072f62ab7e28b2ff0c1193c9c489056 --- M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0114949) hgbot (developer) 2019-10-08 11:00 |
Repository: retail/backports/3.0RR19Q4/org.openbravo.mobile.core Changeset: 8785d9b749f264673e12ef29334242969c7c5874 Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Mon Oct 07 14:46:54 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/8785d9b749f264673e12ef29334242969c7c5874 [^] Related to issue 41931: split the code of get the models to sync from the code to move the models from pending list to ongoing list --- M web/org.openbravo.mobile.core/source/model/ob-pollingrequesthandler.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-10-04 10:28 | gorka_gil | Type | defect => backport |
2019-10-04 10:28 | gorka_gil | Target Version | => RR19Q4 |
2019-10-04 12:51 | hgbot | Checkin | |
2019-10-04 12:51 | hgbot | Note Added: 0114922 | |
2019-10-04 12:51 | hgbot | Status | scheduled => resolved |
2019-10-04 12:51 | hgbot | Resolution | open => fixed |
2019-10-04 12:51 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1919148245f7d65b02f6b88afb46399f7eb32536 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q4/org.openbravo.mobile.core/rev/c30e24e38ea642b41c4a03c2064cb0f3316b52b3 [^] |
2019-10-04 12:51 | hgbot | Checkin | |
2019-10-04 12:51 | hgbot | Note Added: 0114923 | |
2019-10-04 12:51 | hgbot | Checkin | |
2019-10-04 12:51 | hgbot | Note Added: 0114924 | |
2019-10-04 12:52 | gorka_gil | Note Added: 0114925 | |
2019-10-04 12:52 | gorka_gil | Note Edited: 0114925 | View Revisions |
2019-10-08 10:57 | gorka_gil | Note Added: 0114947 | |
2019-10-08 10:57 | gorka_gil | Status | resolved => new |
2019-10-08 10:57 | gorka_gil | Resolution | fixed => open |
2019-10-08 11:00 | hgbot | Checkin | |
2019-10-08 11:00 | hgbot | Note Added: 0114948 | |
2019-10-08 11:00 | hgbot | Checkin | |
2019-10-08 11:00 | hgbot | Note Added: 0114949 | |
2019-10-08 11:00 | gorka_gil | Status | new => scheduled |
2019-10-08 11:01 | gorka_gil | Status | scheduled => resolved |
2019-10-08 11:01 | gorka_gil | Resolution | open => fixed |
2019-10-24 17:03 | marvintm | Review Assigned To | => marvintm |
2019-10-24 17:03 | marvintm | Status | resolved => closed |
2019-10-24 17:03 | marvintm | Fixed in Version | => RR19Q4 |
Copyright © 2000 - 2009 MantisBT Group |