Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026842 | Openbravo ERP | 07. Sales management | public | 2014-06-11 13:38 | 2014-12-30 23:23 |
|
Reporter | jonalegriaesarte | |
Assigned To | Sandrahuguet | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR15Q1 | Fixed in Version | pi | |
Merge Request Status | |
Review Assigned To | reinaldoguerra |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 29222 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0026842: Null pointer exception in create order process in sales quotation due to changes in units |
Description | Null pointer exception in create order process in sales quotation due to changes in units. |
Steps To Reproduce | - Create a product with a price
- Create sales quotation with one line including the product created
- Book it
- Change the unit of the product
- Create order in sales quotation. Process fails:
Error
java.lang.Exception: Could not execute JDBC batch update |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-06-11 13:38 | jonalegriaesarte | New Issue | |
2014-06-11 13:38 | jonalegriaesarte | Assigned To | => pramakrishnan |
2014-06-11 13:38 | jonalegriaesarte | Modules | => Core |
2014-06-11 13:38 | jonalegriaesarte | OBNetwork customer | => Yes |
2014-06-11 13:38 | jonalegriaesarte | Support ticket | => 29222 |
2014-06-11 13:38 | jonalegriaesarte | Resolution time | => 1408485600 |
2014-06-11 13:38 | jonalegriaesarte | Triggers an Emergency Pack | => No |
2014-06-16 12:48 | jonalegriaesarte | Target Version | PR14Q3 => PR14Q4 |
2014-09-29 16:12 | jonalegriaesarte | Target Version | 3.0PR14Q4 => 3.0PR15Q1 |
2014-10-02 06:08 | reinaldoguerra | Assigned To | pramakrishnan => reinaldoguerra |
2014-10-02 06:08 | reinaldoguerra | Status | new => scheduled |
2014-10-02 06:31 | reinaldoguerra | Note Added: 0070642 | |
2014-10-15 16:57 | vmromanos | Assigned To | reinaldoguerra => vmromanos |
2014-10-15 16:57 | vmromanos | Review Assigned To | => reinaldoguerra |
2014-10-15 17:01 | hgbot | Checkin | |
2014-10-15 17:01 | hgbot | Note Added: 0070971 | |
2014-10-15 17:01 | hgbot | Status | scheduled => resolved |
2014-10-15 17:01 | hgbot | Resolution | open => fixed |
2014-10-15 17:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e5a0444fa6fa8f979441761a403b9477d6b46a1f [^] |
2014-10-21 10:09 | vmromanos | Note Added: 0071069 | |
2014-10-21 10:09 | vmromanos | Status | resolved => new |
2014-10-21 10:09 | vmromanos | Resolution | fixed => open |
2014-10-30 16:39 | Sandrahuguet | Assigned To | vmromanos => Sandrahuguet |
2014-10-30 16:41 | hgbot | Checkin | |
2014-10-30 16:41 | hgbot | Note Added: 0071277 | |
2014-10-30 16:41 | hgbot | Status | new => resolved |
2014-10-30 16:41 | hgbot | Resolution | open => fixed |
2014-10-30 16:41 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/e5a0444fa6fa8f979441761a403b9477d6b46a1f [^] => http://code.openbravo.com/erp/devel/pi/rev/0d4116dbb09583b47eaf891494e96a7f30d3e55b [^] |
2014-10-30 19:59 | reinaldoguerra | Status | resolved => closed |
2014-10-30 19:59 | reinaldoguerra | Fixed in Version | => pi |
2014-12-30 23:22 | hudsonbot | Checkin | |
2014-12-30 23:22 | hudsonbot | Note Added: 0072938 | |
2014-12-30 23:23 | hudsonbot | Checkin | |
2014-12-30 23:23 | hudsonbot | Note Added: 0073004 | |
Notes |
|
|
Test plan used:
1- Login into Openbravo ERP with España Región Norte warehouse
2- Create a product with a price
3- Create sales quotation with one line including the product created
4- Book it
5- Change the unit of the product
6- Create order in sales quotation. Process fails:
7- The error message is now: Unit of Measure mismatch (product/transaction) |
|
|
(0070971)
|
hgbot
|
2014-10-15 17:01
|
|
Repository: erp/devel/pi
Changeset: e5a0444fa6fa8f979441761a403b9477d6b46a1f
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Oct 15 17:01:38 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e5a0444fa6fa8f979441761a403b9477d6b46a1f [^]
Fixed bug 26842: DB errors no properly parsed in ConvertQuotationIntoOrder
Database errors thrown by a trigger were not properly captured by the ConvertQuotationIntoOrder process.
We use the OBMessageUtils.translateError() method to parse the error message thrown by the Database and print it into the UI.
---
M src/org/openbravo/erpCommon/ad_process/ConvertQuotationIntoOrder.java
---
|
|
|
|
Reopened.
The issue seems to be fixed in Oracle, but in PG it shows a very ugly error message |
|
|
(0071277)
|
hgbot
|
2014-10-30 16:41
|
|
Repository: erp/devel/pi
Changeset: 0d4116dbb09583b47eaf891494e96a7f30d3e55b
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Oct 30 16:40:32 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0d4116dbb09583b47eaf891494e96a7f30d3e55b [^]
Fixed bug 26842 DB errors no properly parsed in ConvertQuotationIntoOrder
Use getUnderlyingSQLException to parse the exception
---
M src/org/openbravo/erpCommon/ad_process/ConvertQuotationIntoOrder.java
---
|
|
|
|
|
|
|
|