Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028330 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2014-12-01 18:00 | 2014-12-30 23:28 | |||
Reporter | reinaldoguerra | View Status | public | |||||
Assigned To | reinaldoguerra | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 1c4fc1c5303f | ||||
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 | ||||||||
Review Assigned To | pramakrishnan | |||||||
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 | 0028330: "java.lang.IllegalArgumentException: node to traverse cannot be null!" error when executing Reset Accounting | |||||||
Description | A "java.lang.IllegalArgumentException: node to traverse cannot be null!" exception is shown in log when executing Reset Accounting process. | |||||||
Steps To Reproduce | As group Admin role: 1- Execute Reset Accounting process from Financial management - Accounting - Transactions menu 2- Select C_Order table 3- Click OK button and realize that "Error Reseting Accounting" is shown. Also an exception (java.lang.IllegalArgumentException: node to traverse cannot be null!) is registered in the log | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0072220) reinaldoguerra (viewer) 2014-12-02 03:43 |
Test plan used: 1- Login into Openbravo ERP 2- Execute Reset Accounting process from Financial management - Accounting - Transactions menu 3- Select C_Order table and do not check "Delete existing Accounting entries" 4- Click OK button, process now does not launches any error and is executed successfuly |
(0072866) hgbot (developer) 2014-12-30 09:05 |
Repository: erp/devel/pi Changeset: 1c4fc1c5303fcfac6852fd4916c37078b9eaedeb Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com> Date: Mon Dec 01 18:36:51 2014 -0500 URL: http://code.openbravo.com/erp/devel/pi/rev/1c4fc1c5303fcfac6852fd4916c37078b9eaedeb [^] Fixed bug 28330: IllegalArgumentException error when executing Reset Accounting. HQL Query when updating order status during reset accounting process, launches an hibernate exception when parsing "Order" keyword. In order to avoid this, ResetAccounting java class was changed to use native SQL Query instead of HQL Query in the logic of restore method. This changes takes into account all kind of unposteable openbravo entities listed in Reset Accounting window's process. Now it is possible to reset c_order table accounting information successfuly. --- M src/org/openbravo/financial/ResetAccounting.java --- |
(0072867) pramakrishnan (viewer) 2014-12-30 09:05 |
verified |
(0073276) hudsonbot (viewer) 2014-12-30 23:28 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-12-01 18:00 | reinaldoguerra | New Issue | |
2014-12-01 18:00 | reinaldoguerra | Assigned To | => reinaldoguerra |
2014-12-01 18:00 | reinaldoguerra | OBNetwork customer | => Yes |
2014-12-01 18:00 | reinaldoguerra | Modules | => Core |
2014-12-01 18:00 | reinaldoguerra | Triggers an Emergency Pack | => No |
2014-12-01 18:01 | reinaldoguerra | Relationship added | related to 0028163 |
2014-12-01 18:02 | reinaldoguerra | Status | new => scheduled |
2014-12-02 03:43 | reinaldoguerra | Note Added: 0072220 | |
2014-12-30 09:05 | hgbot | Checkin | |
2014-12-30 09:05 | hgbot | Note Added: 0072866 | |
2014-12-30 09:05 | hgbot | Status | scheduled => resolved |
2014-12-30 09:05 | hgbot | Resolution | open => fixed |
2014-12-30 09:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1c4fc1c5303fcfac6852fd4916c37078b9eaedeb [^] |
2014-12-30 09:05 | pramakrishnan | Review Assigned To | => pramakrishnan |
2014-12-30 09:05 | pramakrishnan | Note Added: 0072867 | |
2014-12-30 09:05 | pramakrishnan | Status | resolved => closed |
2014-12-30 23:28 | hudsonbot | Checkin | |
2014-12-30 23:28 | hudsonbot | Note Added: 0073276 | |
2015-08-25 12:33 | ngarcia | Relationship added | related to 0030663 |
2018-01-23 18:51 | aferraz | Relationship added | related to 0037708 |
Copyright © 2000 - 2009 MantisBT Group |