Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041811
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorsometimes2019-09-13 09:202019-10-24 17:03
ReportermigueldejuanaView Statuspublic 
Assigned Togorka_gil 
PrioritynormalResolutionfixedFixed in VersionRR20Q1
StatusclosedFix in branchFixed in SCM revisionb8d22c79d1fe
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041811: Polling could be not launched due to asynchrony

DescriptionIn 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 Reproducen/a
Proposed SolutionCheck both notStarted and messagesByModel
TagsNo tags attached.
Attached Files? file icon mobileCore4118.commit [^] (1,283 bytes) 2019-09-13 09:36

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0041931RR19Q4 closedgorka_gil Polling could be not launched due to asynchrony 
blocks defect 0042102 closedRetail [LoyaltyPrograms] Error updating subscription number in WebPOS 
causes defect 0041686 closedmarkmm82 Polling when creating a subscription with card number does not always return data from the server 

-  Notes
(0114591)
hgbot (developer)
2019-09-16 23:28

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1919148245f7d65b02f6b88afb46399f7eb32536
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 13 09:34:33 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1919148245f7d65b02f6b88afb46399f7eb32536 [^]

Fixed issue 0041811: 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
---
(0114845)
gorka_gil (administrator)
2019-09-27 13:39

The commit was backed out in:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/63cdf954e192 [^]
(0114913)
hgbot (developer)
2019-10-04 10:54

Repository: tools/automation/pi-mobile
Changeset: b9e89187703c909d952d287d03a70b263c173371
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Wed Oct 02 14:14:32 2019 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/b9e89187703c909d952d287d03a70b263c173371 [^]

Related to issue 41811: Fix loyalty tests in oracle

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/terminals/WebPOSExtModulesLoyaltyTerminalHelper.java
---
(0114914)
hgbot (developer)
2019-10-04 10:54

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: b8d22c79d1fe2388fa9ddae64b8f09561f6e92c2
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Sep 27 13:44:12 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b8d22c79d1fe2388fa9ddae64b8f09561f6e92c2 [^]

Fixed issue 0041811: 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
---
(0114915)
hgbot (developer)
2019-10-04 10:54

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 7f9fa65d8ba74c153fe6baba845bbd8e11faf945
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Sep 27 14:31:23 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/7f9fa65d8ba74c153fe6baba845bbd8e11faf945 [^]

Related to issue 41811: 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
---
(0114916)
hgbot (developer)
2019-10-04 10:54

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 995646759147e71d47c521e0e7aa5994e58e88de
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Wed Oct 02 17:30:30 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/995646759147e71d47c521e0e7aa5994e58e88de [^]

Related to issue 41811: 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
---
(0114933)
hgbot (developer)
2019-10-07 13:15

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: d8a434aa041f8a9c4c1f06dacd2ebc69f47615d3
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Oct 07 13:14:23 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/d8a434aa041f8a9c4c1f06dacd2ebc69f47615d3 [^]

Related to issue 41811: Backed out changeset 7f9fa65d8ba7

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0114945)
gorka_gil (administrator)
2019-10-08 10:07

Reopened because previous fixes breaks awo
(0114946)
hgbot (developer)
2019-10-08 10:55

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 21712b998c4305c34fb4019d9a641665d12d4a99
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Mon Oct 07 14:46:54 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/21712b998c4305c34fb4019d9a641665d12d4a99 [^]

Related to issue 41811: 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
---

- Issue History
Date Modified Username Field Change
2019-09-13 09:20 migueldejuana New Issue
2019-09-13 09:20 migueldejuana Assigned To => migueldejuana
2019-09-13 09:20 migueldejuana Triggers an Emergency Pack => No
2019-09-13 09:36 migueldejuana File Added: mobileCore4118.commit
2019-09-16 23:28 hgbot Checkin
2019-09-16 23:28 hgbot Note Added: 0114591
2019-09-16 23:28 hgbot Status new => resolved
2019-09-16 23:28 hgbot Resolution open => fixed
2019-09-16 23:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1919148245f7d65b02f6b88afb46399f7eb32536 [^]
2019-09-18 04:06 markmm82 Relationship added causes 0041686
2019-09-27 13:39 gorka_gil Assigned To migueldejuana => gorka_gil
2019-09-27 13:39 gorka_gil Note Added: 0114845
2019-09-27 13:39 gorka_gil Status resolved => new
2019-09-27 13:39 gorka_gil Resolution fixed => open
2019-09-27 13:39 gorka_gil Status new => scheduled
2019-10-04 10:27 gorka_gil Status scheduled => acknowledged
2019-10-04 10:28 gorka_gil Status acknowledged => scheduled
2019-10-04 10:54 hgbot Checkin
2019-10-04 10:54 hgbot Note Added: 0114913
2019-10-04 10:54 hgbot Checkin
2019-10-04 10:54 hgbot Note Added: 0114914
2019-10-04 10:54 hgbot Status scheduled => resolved
2019-10-04 10:54 hgbot Resolution open => fixed
2019-10-04 10:54 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1919148245f7d65b02f6b88afb46399f7eb32536 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b8d22c79d1fe2388fa9ddae64b8f09561f6e92c2 [^]
2019-10-04 10:54 hgbot Checkin
2019-10-04 10:54 hgbot Note Added: 0114915
2019-10-04 10:54 hgbot Checkin
2019-10-04 10:54 hgbot Note Added: 0114916
2019-10-04 12:47 hgbot Checkin
2019-10-04 12:47 hgbot Note Added: 0114921
2019-10-04 12:52 gorka_gil Note Deleted: 0114921
2019-10-07 13:15 hgbot Checkin
2019-10-07 13:15 hgbot Note Added: 0114933
2019-10-08 10:07 gorka_gil Note Added: 0114945
2019-10-08 10:07 gorka_gil Status resolved => new
2019-10-08 10:07 gorka_gil Resolution fixed => open
2019-10-08 10:55 hgbot Checkin
2019-10-08 10:55 hgbot Note Added: 0114946
2019-10-08 10:56 gorka_gil Status new => scheduled
2019-10-08 10:56 gorka_gil Status scheduled => resolved
2019-10-08 10:56 gorka_gil Resolution open => fixed
2019-10-24 08:03 Sandrahuguet Relationship added blocks 0042102
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 => RR20Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker