Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029246 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Warehouse Picking | major | have not tried | 2015-03-11 17:59 | 2015-12-09 10:17 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | Triage Omni WMS | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 56cf6314ded4 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | dmiguelez | |||||||
Support ticket | 38953 | |||||||
OBNetwork customer | OBPS | |||||||
Regression introduced in release | ||||||||
Summary | 0029246: can get duplicated document numbers in picking list | |||||||
Description | Picking module implements its own code to get document numbers, by reading the code looks like it can return duplicated numbers in case of concurrency. | |||||||
Steps To Reproduce | Not tested, just code review org.openbravo.warehouse.pickinglist.OBWPL_Utils.getDocumentNo method: it is selecting the sequence without creating any look, suppose this scencario: -Thread A: selects docNo -Thread B: selects docNo (got same number) -Thread A: saves and flushes -Thread B: saves and flushes | |||||||
Proposed Solution | Why to maintain what looks like a copy of org.openbravo.advpaymentmngt.utility.FIN_Utility.getDocumentNo | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0082596) hgbot (developer) 2015-12-07 12:52 |
Repository: erp/pmods/org.openbravo.warehouse.pickinglist Changeset: 56cf6314ded4d791965e767c8fb830a9870df93c Author: Atul Gaware <atul.gaware <at> openbravo.com> Date: Tue Dec 01 17:38:35 2015 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/56cf6314ded4d791965e767c8fb830a9870df93c [^] Fixes Issue 29246:Can get duplicated document numbers in picking list Removed OBWPL_Utils getDocumentNo method and made use of FIN_Utility getDocumentNo method which does not allow duplicate document no by using Lock mode in OBCriteria for Document Sequence. --- M src/org/openbravo/warehouse/pickinglist/AssignActionHandler.java M src/org/openbravo/warehouse/pickinglist/OBWPL_Utils.java M src/org/openbravo/warehouse/pickinglist/OutboundPickingListProcess.java M src/org/openbravo/warehouse/pickinglist/Utilities.java M src/org/openbravo/warehouse/pickinglist/callout/PickingListDoctype.java --- |
(0082597) dmiguelez (viewer) 2015-12-07 12:52 |
Code Review + Testing Ok |
(0082606) hgbot (developer) 2015-12-09 10:17 |
Repository: erp/pmods/org.openbravo.warehouse.pickinglist Changeset: 710e5382dbe6687f5e6dab83408f40bfd2517cb5 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Wed Dec 09 10:17:26 2015 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/710e5382dbe6687f5e6dab83408f40bfd2517cb5 [^] Related to Issue 29246. Updated Module version. --- M src-db/database/sourcedata/AD_MODULE.xml --- |
![]() |
|||
Date Modified | Username | Field | Change |
2015-03-11 17:59 | alostale | New Issue | |
2015-03-11 17:59 | alostale | Assigned To | => naiaramartinez |
2015-03-11 17:59 | alostale | OBNetwork customer | => No |
2015-03-11 18:03 | alostale | Relationship added | related to 0025075 |
2015-03-17 18:33 | eduardo_Argal | Status | new => scheduled |
2015-03-17 18:33 | eduardo_Argal | Assigned To | naiaramartinez => eduardo_Argal |
2015-10-23 15:04 | ngarcia | Issue Monitored: networkb | |
2015-10-23 15:05 | ngarcia | Resolution time | => 1449097200 |
2015-10-23 15:05 | ngarcia | Support ticket | => 38953 |
2015-10-23 15:05 | ngarcia | OBNetwork customer | No => Yes |
2015-10-23 15:05 | ngarcia | Priority | normal => urgent |
2015-10-26 11:50 | VictorVillar | Assigned To | eduardo_Argal => Triage Finance |
2015-12-07 12:52 | hgbot | Checkin | |
2015-12-07 12:52 | hgbot | Note Added: 0082596 | |
2015-12-07 12:52 | hgbot | Status | scheduled => resolved |
2015-12-07 12:52 | hgbot | Resolution | open => fixed |
2015-12-07 12:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/56cf6314ded4d791965e767c8fb830a9870df93c [^] |
2015-12-07 12:52 | dmiguelez | Review Assigned To | => dmiguelez |
2015-12-07 12:52 | dmiguelez | Note Added: 0082597 | |
2015-12-07 12:52 | dmiguelez | Status | resolved => closed |
2015-12-09 10:17 | hgbot | Checkin | |
2015-12-09 10:17 | hgbot | Note Added: 0082606 |
Copyright © 2000 - 2009 MantisBT Group |