Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0040617 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS | major | random | 2018-11-26 14:42 | 2019-04-15 18:53 | |||
Reporter | gorka_gil | View Status | public | |||||
Assigned To | gorka_gil | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q4.3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 2093905bef72 | ||||
Projection | none | ETA | none | Target Version | RR18Q4.3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | guilleaer | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0040617: 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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0111157) hgbot (developer) 2019-04-15 18:35 |
Repository: retail/backports/3.0RR18Q4.3/org.openbravo.retail.posterminal Changeset: 2093905bef726e9911aeeb8968a06eaf8143c2de Author: Gorka Gil <gorka.gil <at> openbravo.com> Date: Thu Apr 11 19:00:16 2019 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.retail.posterminal/rev/2093905bef726e9911aeeb8968a06eaf8143c2de [^] Fixed issue 40617: 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 --- |
![]() |
|||
Date Modified | Username | Field | Change |
2019-04-15 16:17 | gorka_gil | Type | defect => backport |
2019-04-15 16:17 | gorka_gil | Target Version | => RR18Q4.3 |
2019-04-15 18:35 | hgbot | Checkin | |
2019-04-15 18:35 | hgbot | Note Added: 0111157 | |
2019-04-15 18:35 | hgbot | Status | scheduled => resolved |
2019-04-15 18:35 | hgbot | Resolution | open => fixed |
2019-04-15 18:35 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42c284b82acc6c8a8a3c847d83980838a499b8f2 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q4.3/org.openbravo.retail.posterminal/rev/2093905bef726e9911aeeb8968a06eaf8143c2de [^] |
2019-04-15 18:53 | guilleaer | Review Assigned To | marvintm => guilleaer |
2019-04-15 18:53 | guilleaer | Status | resolved => closed |
2019-04-15 18:53 | guilleaer | Fixed in Version | => RR18Q4.3 |
Copyright © 2000 - 2009 MantisBT Group |