Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013852 | Openbravo ERP | 07. Sales management | public | 2010-06-30 18:49 | 2010-07-24 00:00 |
Reporter | jonalegriaesarte | ||||
Assigned To | adrianromero | ||||
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | 2.50MP20 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | OBPS | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0013852: Rollback missed in CreateFrom class | ||||
Description | In file src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java, method saveInvoice a rollback is missed in this piece of code: if (isSOTrx.equals("Y")) data = CreateFromInvoiceData.selectFromShipmentUpdateSOTrx(conn, this, strClaves); else data = CreateFromInvoiceData.selectFromShipmentUpdate(conn, this, strClaves); dataAux = CreateFromInvoiceData.selectPriceList(conn, this, strDateInvoiced, strPriceList); if (dataAux == null || dataAux.length == 0) { myMessage = Utility.translateError(this, vars, vars.getLanguage(), "PriceListVersionNotFound"); return myMessage; } The rollback (releaseRollbackConnection(conn) line) must be before the return. This problem could happen in other pieces of code. | ||||
Steps To Reproduce | |||||
Proposed Solution | The code must be if (dataAux == null || dataAux.length == 0) { myMessage = Utility.translateError(this, vars, vars.getLanguage(), "PriceListVersionNotFound"); releaseRollbackConnection(conn); return myMessage; } | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-06-30 18:49 | jonalegriaesarte | New Issue | |||
2010-06-30 18:49 | jonalegriaesarte | Assigned To | => adrianromero | ||
2010-06-30 18:49 | jonalegriaesarte | OBNetwork customer | => Yes | ||
2010-07-05 13:25 | adrianromero | Status | new => scheduled | ||
2010-07-05 13:25 | adrianromero | fix_in_branch | => pi | ||
2010-07-11 07:30 | hgbot | Checkin | |||
2010-07-11 07:30 | hgbot | Note Added: 0029210 | |||
2010-07-11 07:30 | hgbot | Status | scheduled => resolved | ||
2010-07-11 07:30 | hgbot | Resolution | open => fixed | ||
2010-07-11 07:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/5dd3d4843cb36bbb63b134f51e2a3c79ac68484b [^] | ||
2010-07-11 07:31 | harikrishnan | Note Added: 0029211 | |||
2010-07-14 04:43 | hudsonbot | Checkin | |||
2010-07-14 04:43 | hudsonbot | Note Added: 0029280 | |||
2010-07-23 11:16 | psarobe | Note Added: 0029511 | |||
2010-07-23 11:16 | psarobe | Status | resolved => closed | ||
2010-07-24 00:00 | anonymous | sf_bug_id | 0 => 3033806 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|