Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0025075 | Openbravo ERP | 09. Financial management | public | 2013-11-04 18:46 | 2013-11-19 19:07 |
|
| Reporter | ioritzCia | |
| Assigned To | eduardo_Argal | |
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 30 | OS Version | Ubuntu 12.04 |
| Product Version | pi | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | ioritzCia |
| OBNetwork customer | OBPS |
| Web browser | Google Chrome |
| Modules | Advanced Payables and Receivables Mngmt |
| Support ticket | |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0025075: FIN_Utility.getDocumentNo method can return the same documentno to same document and organization. |
| Description | FIN_Utility.getDocumentNo makes a call to a query that returns the nextAssignedNumber of a sequence. This can be called concurrently and can return the same number twice.
Note that to avoid this wad calls Utility.getDocumentNo method that makes a call to DocumentNoData.nextDocType method, that executes AD_Sequence_DocType database function. This function makes a select ... for update call at the beginning, blocking the ad_sequence table so that no one can access it until the commit of the transaction has been done. |
| Steps To Reproduce | - Hard to reproduce it in pi.
- Could reproduce it in customer's environment with a custom development. |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0029246 | | closed | Triage Omni WMS | Modules | can get duplicated document numbers in picking list | | related to | defect | 0029258 | | closed | Sandrahuguet | Openbravo ERP | FIN_Utility.getDocumentNo method can return duplicates |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2013-11-04 18:46 | ioritzCia | New Issue | |
| 2013-11-04 18:46 | ioritzCia | Assigned To | => dmiguelez |
| 2013-11-04 18:46 | ioritzCia | Web browser | => Google Chrome |
| 2013-11-04 18:46 | ioritzCia | Modules | => Advanced Payables and Receivables Mngmt |
| 2013-11-04 18:46 | ioritzCia | OBNetwork customer | => Yes |
| 2013-11-04 18:46 | ioritzCia | Triggers an Emergency Pack | => No |
| 2013-11-06 11:52 | eduardo_Argal | Assigned To | dmiguelez => eduardo_Argal |
| 2013-11-06 11:52 | eduardo_Argal | Status | new => scheduled |
| 2013-11-06 11:52 | eduardo_Argal | fix_in_branch | => pi |
| 2013-11-06 11:53 | hgbot | Checkin | |
| 2013-11-06 11:53 | hgbot | Note Added: 0062042 | |
| 2013-11-06 11:53 | hgbot | Status | scheduled => resolved |
| 2013-11-06 11:53 | hgbot | Resolution | open => fixed |
| 2013-11-06 11:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e884b5f2318b77d3cbd8765541d5a5b4b5ebbef2 [^] |
| 2013-11-06 11:56 | ioritzCia | Review Assigned To | => ioritzCia |
| 2013-11-06 11:56 | ioritzCia | Note Added: 0062043 | |
| 2013-11-06 11:56 | ioritzCia | Status | resolved => closed |
| 2013-11-19 19:07 | hudsonbot | Checkin | |
| 2013-11-19 19:07 | hudsonbot | Note Added: 0062240 | |
| 2015-03-11 18:03 | alostale | Relationship added | related to 0029246 |
| 2015-03-12 13:58 | alostale | Relationship added | related to 0029258 |