Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039691 | Retail Modules | Web POS | public | 2018-11-26 14:42 | 2019-04-15 16:18 |
|
Reporter | gorka_gil | |
Assigned To | gorka_gil | |
Priority | normal | Severity | major | Reproducibility | random |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR19Q1 | |
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 | 0039691: Shared payment methods: race condition when saving the slave cashup |
Description | When doing login into a slave of payment methods,
if go directly to the cashup it gives an error.
Looking into openbravo log can be seen that the cashup id is null, since the synchronization of the initial cachup done in the login still is not in the backend.
Looks like a race condition between the initial cashup and the runsynprocess to sync it to the backend. |
Steps To Reproduce | After add the terminal log project it can be reproduced in the shared payment tests, for example:
I31822_SPMQuotationSharedPayments (in the api method restoreSPMCashups) |
Proposed Solution | Ensure that initcashup has finish before launch the runsyncprocess. |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0040617 | RR18Q4.3 | closed | gorka_gil | Shared payment methods: race condition when saving the slave cashup |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-11-26 14:42 | gorka_gil | New Issue | |
2018-11-26 14:42 | gorka_gil | Assigned To | => gorka_gil |
2018-11-26 14:42 | gorka_gil | OBNetwork customer | => No |
2018-11-26 14:42 | gorka_gil | Triggers an Emergency Pack | => No |
2018-11-28 14:29 | hgbot | Checkin | |
2018-11-28 14:29 | hgbot | Note Added: 0108149 | |
2018-11-30 14:58 | hgbot | Checkin | |
2018-11-30 14:58 | hgbot | Note Added: 0108193 | |
2018-12-20 10:29 | hgbot | Checkin | |
2018-12-20 10:29 | hgbot | Note Added: 0108684 | |
2018-12-20 10:29 | hgbot | Checkin | |
2018-12-20 10:29 | hgbot | Note Added: 0108685 | |
2018-12-20 10:29 | hgbot | Status | new => resolved |
2018-12-20 10:29 | hgbot | Resolution | open => fixed |
2018-12-20 10:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42c284b82acc6c8a8a3c847d83980838a499b8f2 [^] |
2018-12-21 16:25 | marvintm | Review Assigned To | => marvintm |
2018-12-21 16:25 | marvintm | Status | resolved => closed |
2018-12-21 16:25 | marvintm | Fixed in Version | => RR19Q1 |
2019-04-15 16:17 | gorka_gil | Status | closed => new |
2019-04-15 16:17 | gorka_gil | Resolution | fixed => open |
2019-04-15 16:17 | gorka_gil | Fixed in Version | RR19Q1 => |
2019-04-15 16:17 | gorka_gil | Status | new => scheduled |
2019-04-15 16:18 | gorka_gil | Status | scheduled => resolved |
2019-04-15 16:18 | gorka_gil | Resolution | open => fixed |
2019-04-15 16:18 | gorka_gil | Status | resolved => closed |
2019-04-15 16:18 | gorka_gil | Fixed in Version | => RR19Q1 |
Notes |
|
(0108149)
|
hgbot
|
2018-11-28 14:29
|
|
Repository: tools/automation/pi-mobile
Changeset: 390c13cdc1d050b7517114db795de239092cbea1
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Wed Nov 28 13:56:44 2018 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/390c13cdc1d050b7517114db795de239092cbea1 [^]
[TerminalLog] Related to issue 39360: Add Terminal Log project
Fix tests:
- I30412_QuotationsAndPromotions.java
- I33307_VerifyLoginUserWithTwoDistinctRoles.java
Disable some SharedPaymentMethods till issue 39691 is fixed.
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/discountsandpromotions/I30412_QuotationsAndPromotions.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/I33307_VerifyLoginUserWithTwoDistinctRoles.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I31591_VerifySharePaymentsCashup.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I35901_SPMVerifyErrorPopupInSlave.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMMulticurrencyPayInEURUSD.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMNeedToCloseMaster.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMQuotationSharedPayments.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMSaleAndReloadSharedPayments.java
---
|
|
|
(0108193)
|
hgbot
|
2018-11-30 14:58
|
|
Repository: tools/automation/pi-mobile
Changeset: 7ba0ebd347f3303ef0650d6bc52f279795008db4
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Nov 30 14:58:18 2018 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7ba0ebd347f3303ef0650d6bc52f279795008db4 [^]
[TerminalLog] Related to issue 39360: Disable some SharedPaymentMethods tests till issue 39691 is fixed
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I31822_SPMQuotationSharedPayments.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithoutPriceIncludeTaxes.java
---
|
|
|
(0108684)
|
hgbot
|
2018-12-20 10:29
|
|
Repository: tools/automation/pi-mobile
Changeset: 0885732250090127a2c18bbc4ebc4318ac05ff5e
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Dec 18 13:32:21 2018 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/0885732250090127a2c18bbc4ebc4318ac05ff5e [^]
Related to issue 39691: Reenable shared payment method tests
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I31591_VerifySharePaymentsCashup.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I31822_SPMQuotationSharedPayments.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/I35901_SPMVerifyErrorPopupInSlave.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithoutPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMMulticurrencyPayInEURUSD.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMNeedToCloseMaster.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMQuotationSharedPayments.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMSaleAndReloadSharedPayments.java
---
|
|
|
(0108685)
|
hgbot
|
2018-12-20 10:29
|
|
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 42c284b82acc6c8a8a3c847d83980838a499b8f2
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Wed Dec 19 17:16:21 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42c284b82acc6c8a8a3c847d83980838a499b8f2 [^]
Fixed issue 39691: Fixed two problems with shared payment methods cashup synchronization:
- If terminal belonged to a hierarchy, initCashup and runsyncprocess were executed twice during login
- The synchronization of the cashup happened when the cashup hadn't yet been prepared to be synchronized
---
M web/org.openbravo.retail.posterminal/js/closecash/model/cashup-model.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
---
|
|