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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0041067
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Cash Managementmajorsometimes2019-06-11 10:002019-06-18 18:48
ReportermigueldejuanaView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR19Q3
StatusclosedFix in branchFixed in SCM revision96ceed50bd30
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0041067: Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed

DescriptionCurrently the cash management object is global, accessible by different asynchronous processes, and therefore as the process to complete the cash management is asynchronous, it is possible that modifications happen after the user has confirmed that the ticket should be processed.

It is not possible to avoid the execution of parallel asynchronous processes. However, it is possible to avoid that the execution of these processes changes the information of the current cash management, by cloning the information of the cash mgmt synchronously when the cash mgmt completion process starts, so that from that point on, the cloned cash mgmt is used to execute the completion process.
Steps To Reproducen/a
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0039228 closedmigueldejuana Receipt object is global and therefore can be modified after the user has confirmed that the ticket should be processed 
related to defect 0041851 closedmigueldejuana Cash management synchronization must be done in one transaction 

-  Notes
(0112821)
hgbot (developer)
2019-06-17 13:36

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: f2c8c567015dc8aa5831e0e3be29e7ca88de994a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 11 10:08:40 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2c8c567015dc8aa5831e0e3be29e7ca88de994a [^]

Fixed issue 0041067: Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed

- Instead of do a get and then an update, do directly and update checking the column hasbeenpaid instead of the json.

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---
(0112822)
hgbot (developer)
2019-06-17 13:36

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 96ceed50bd302297ad0d54b600334b9cf01297d2
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 17 09:32:14 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ceed50bd302297ad0d54b600334b9cf01297d2 [^]

Fixed issue 0041067: Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed

- Format js file again

---
M web/org.openbravo.mobile.core/source/data/ob-dal.js
---

- Issue History
Date Modified Username Field Change
2019-06-11 10:00 migueldejuana New Issue
2019-06-11 10:00 migueldejuana Assigned To => Retail
2019-06-11 10:00 migueldejuana Triggers an Emergency Pack => No
2019-06-11 10:01 migueldejuana Relationship added related to 0039228
2019-06-11 10:09 migueldejuana Summary Cash managmeent object is global and therefore can be modified after the user has confirmed that the ticket should be processed => Cash management object is global and therefore can be modified after the user has confirmed that the ticket should be processed
2019-06-11 15:49 migueldejuana Assigned To Retail => migueldejuana
2019-06-11 16:20 ngarcia Issue Monitored: ngarcia
2019-06-11 16:23 ngarcia Resolution time => 1562018400
2019-06-17 13:36 hgbot Checkin
2019-06-17 13:36 hgbot Note Added: 0112821
2019-06-17 13:36 hgbot Status new => resolved
2019-06-17 13:36 hgbot Resolution open => fixed
2019-06-17 13:36 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2c8c567015dc8aa5831e0e3be29e7ca88de994a [^]
2019-06-17 13:36 hgbot Checkin
2019-06-17 13:36 hgbot Note Added: 0112822
2019-06-17 13:36 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/f2c8c567015dc8aa5831e0e3be29e7ca88de994a [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/96ceed50bd302297ad0d54b600334b9cf01297d2 [^]
2019-06-18 18:48 guilleaer Review Assigned To => guilleaer
2019-06-18 18:48 guilleaer Status resolved => closed
2019-06-18 18:48 guilleaer Fixed in Version => RR19Q3
2019-09-18 16:18 migueldejuana Relationship added related to 0041851


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker