Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028330
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2014-12-01 18:002014-12-30 23:28
ReporterreinaldoguerraView Statuspublic 
Assigned Toreinaldoguerra 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1c4fc1c5303f
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028330: "java.lang.IllegalArgumentException: node to traverse cannot be null!" error when executing Reset Accounting

DescriptionA "java.lang.IllegalArgumentException: node to traverse cannot be null!" exception is shown in log when executing Reset Accounting process.
Steps To ReproduceAs 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00281633.0PR15Q1 closedreinaldoguerra "java.lang.IllegalArgumentException: node to traverse cannot be null!" error when trying to Unpost an Order 
related to defect 0030663 closedAtulOpenbravo Error Reseting Accounting if a table without processing column or with acctdate_column_id null is included in GL configuration 
related to design defect 0037708 acknowledgedTriage Platform Base Update of Order table not working in HQL 

-  Notes
(0072220)
reinaldoguerra (developer)
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 (developer)
2014-12-30 09:05

verified
(0073276)
hudsonbot (developer)
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

- Issue History
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 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
Powered by Mantis Bugtracker