Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0035389 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] Z. Others | major | always | 2017-02-28 19:15 | 2024-08-09 14:33 | |||||||
Reporter | gnudebian1991 | View Status | public | |||||||||
Assigned To | AtulOpenbravo | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | scheduled | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||||||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||||||
Product Version | main | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | Google Chrome | |||||||||||
Modules | Core | |||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | FixesIssue35389.diff [^] (5,024 bytes) 2024-08-09 14:33 [Show Content] | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0099922) AtulOpenbravo (developer) 2017-10-17 04:49 |
- Login as F&B International Group Admin - Create a new sales order header and save. - Open the sales order header in form view in a web browser. - Open previous sales order header in form view in another web browser. - In the first web browser, add a new line to previous order and save. - In the second web browser change the Order Reference field in the header and try to save it. - Error message is shown as Error Saving failed. The record you are saving has already been changed by another user or process. Cancel your changes and refresh the data by clicking the refresh button. - Login as F&B International Group Admin - Create a new sales invoice header and save. - Open the sales invoice header in form view in a web browser. - Open previous sales invoice header in form view in another web browser. - In the first web browser, add a new line to previous invoice and save. - In the second web browser change the Description field in the header and try to save it. - Error message is shown as Error Saving failed. The record you are saving has already been changed by another user or process. Cancel your changes and refresh the data by clicking the refresh button. - Login as F&B International Group Admin - Create a new sales invoice header and save. - Open the sales invoice header in form view in a web browser. - Open previous sales invoice header in form view in another web browser. - In the first web browser, add a new line to previous invoice and save. - Navigate to Tax Tab, add a tax line, set Taxable Amount and Tax Amount. - In the second web browser change the Description field in the header and try to save it. - Error message is shown as Error Saving failed. The record you are saving has already been changed by another user or process. Cancel your changes and refresh the data by clicking the refresh button. |
(0167926) aferraz (manager) 2024-08-09 14:33 |
Changing severity to major following https://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^] |
(0167927) aferraz (manager) 2024-08-09 14:33 |
Attached a possible fix. |
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 |
Copyright © 2000 - 2009 MantisBT Group |