Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0035389 | Openbravo ERP | Z. Others | public | 2017-02-28 19:15 | 2024-08-09 14:33 |
Reporter | gnudebian1991 | ||||
Assigned To | AtulOpenbravo | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | scheduled | Resolution | open | ||
Platform | OS | 30 | OS Version | Professional Appliance | |
Product Version | main | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | Google Chrome | ||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0035389: Concurrent modification of the same Sales Order by two different users can lead to inconsistent data | ||||
Description | If two different users access the same Sales Order record and do the following: -First user enters a new product line and saves the record.This action modifies the Total Gross Amount and Total Net Amount of the header but doesnt update the updated column of the header. -Second user edits any field of the header and saves the record. Since this user didnt refresh before editing he has the old values for Total Gross Amount and Total Net Amount, this action will overwrite these values. This will produce inconsistent data since the sum of the order lines doesnt equal the amounts shown in the header. This happens because the updated column of all the tables doesnt get updated if the change comes from database triggers. The StaleDate validation in JsonToDataConverted.java doesnt support this case. | ||||
Steps To Reproduce | 1.-Create a new sales order and save. 2.-Enter the sales order header in form mode with a web browser. 3.-Enter the sales order header in form mode with another web browser. 4.-In the first web browser enter a new line and save. 5.-In the second web browser change the Order Reference in the header and save. If we refresh the sales order we can see Total Gross Amount=0 and Total Net Amount=0 but we have one line with amounts. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | FixesIssue35389.diff (5,024) 2024-08-09 14:33 https://issues.openbravo.com/file_download.php?file_id=20083&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-02-28 19:15 | gnudebian1991 | New Issue | |||
2017-02-28 19:15 | gnudebian1991 | Assigned To | => Triage Finance | ||
2017-02-28 19:15 | gnudebian1991 | Web browser | => Google Chrome | ||
2017-02-28 19:15 | gnudebian1991 | Modules | => Core | ||
2017-02-28 19:15 | gnudebian1991 | Triggers an Emergency Pack | => No | ||
2017-03-06 12:58 | maite | Web browser | Google Chrome => Google Chrome | ||
2017-10-13 10:34 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo | ||
2017-10-17 04:08 | AtulOpenbravo | Status | new => scheduled | ||
2017-10-17 04:49 | AtulOpenbravo | Note Added: 0099922 | |||
2024-08-09 14:33 | aferraz | Web browser | Google Chrome => Google Chrome | ||
2024-08-09 14:33 | aferraz | Note Added: 0167926 | |||
2024-08-09 14:33 | aferraz | Severity | critical => major | ||
2024-08-09 14:33 | aferraz | Note Added: 0167927 | |||
2024-08-09 14:33 | aferraz | File Added: FixesIssue35389.diff |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|