Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024921Openbravo ERPZ. Otherspublic2013-10-10 10:292013-11-04 18:12
ioritzCia 
jonalegriaesarte 
highmajoralways
closedno change required 
20Ubuntu 10.04
 
 
ioritzCia
Core
No
0024921: Concurrent calls to get a new sequence number return the same sequence number.
The sequence generation fails when it receives concurrent calls as it can return the same sequence number to different calls.
- You need two people connected to the same instance.
- Both logged with a user with the same default org.
- Go to sales invoice window.
- Both users must click on new button at the same time.
- The two invoices generated have the same org, doctype and documentno.
- The documentno is a sequence so this is wrong.

This example is set with the documentno of a sales invoice but happens with any other document's documentno.
No tags attached.
Issue History
2013-10-10 10:29ioritzCiaNew Issue
2013-10-10 10:29ioritzCiaAssigned To => dmiguelez
2013-10-10 10:29ioritzCiaModules => Core
2013-10-10 10:29ioritzCiaTriggers an Emergency Pack => No
2013-10-10 10:30ioritzCiaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=5088#r5088
2013-10-10 10:32ioritzCiaAssigned Todmiguelez => jonalegriaesarte
2013-11-04 18:12ioritzCiaReview Assigned To => ioritzCia
2013-11-04 18:12ioritzCiaNote Added: 0062020
2013-11-04 18:12ioritzCiaStatusnew => closed
2013-11-04 18:12ioritzCiaResolutionopen => no change required

Notes
(0062020)
ioritzCia   
2013-11-04 18:12   
Badly reported, when creating the documents, the document numbers are the same, but when saving them, there is a call to correct it.