Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0037422 | Openbravo ERP | 09. Financial management | public | 2017-11-30 10:27 | 2018-05-09 19:29 | ||||||||||||||
Reporter | ngarcia | ||||||||||||||||||
Assigned To | markmm82 | ||||||||||||||||||
Priority | high | Severity | minor | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR18Q3 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | aferraz | ||||||||||||||||||
OBNetwork customer | OBPS | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | 49176 | ||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0037422: Reset Accounting finishes with error if it is launched for an org with "Organization" type and the type name has been changed | ||||||||||||||||||
Description | Reset Accounting finishes with error if it is launched for an org with "Organization" type and the type name has been changed. Delete accounting entries option should be selected. The problem is in the following piece of code of ResetAccounting.delete function: Set<String> orgIds = StringUtils.equals(org.getOrganizationType().getName(), "Organization") ? getLegalOrBusinessOrgsChilds(client, adOrgId) : new OrganizationStructureProvider().getChildTree(adOrgId, true); | ||||||||||||||||||
Steps To Reproduce | As system admin role: Go to Organization Type window and change the name of "Organization" record As group admin role: Launch the Reset Accounting process: Client: F&B International Group Organization: * Delete accounting entries: Y Check the following error is shown: Delete failed The log shows: ERROR org.openbravo.common.actionhandler.ResetAccountingHandler - Error in Reset Accounting Action Handler org.openbravo.base.exception.OBException: Delete failed at org.openbravo.financial.ResetAccounting.delete(ResetAccounting.java:210) at org.openbravo.financial.ResetAccounting.delete(ResetAccounting.java:58) at org.openbravo.common.actionhandler.ResetAccountingHandler.doExecute(ResetAccountingHandler.java:67)... Caused by: java.lang.NullPointerException at org.openbravo.financial.ResetAccounting.delete(ResetAccounting.java:148) | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-11-30 10:27 | ngarcia | New Issue | |||||||||||||||||
2017-11-30 10:27 | ngarcia | Assigned To | => Triage Finance | ||||||||||||||||
2017-11-30 10:27 | ngarcia | OBNetwork customer | => Yes | ||||||||||||||||
2017-11-30 10:27 | ngarcia | Modules | => Core | ||||||||||||||||
2017-11-30 10:27 | ngarcia | Support ticket | => 49176 | ||||||||||||||||
2017-11-30 10:27 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-11-30 10:27 | ngarcia | Issue Monitored: networkb | |||||||||||||||||
2017-11-30 10:28 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=16407#r16407 | ||||||||||||||||
2017-11-30 11:20 | ngarcia | Relationship added | related to 0033063 | ||||||||||||||||
2017-12-07 17:31 | markmm82 | Assigned To | Triage Finance => markmm82 | ||||||||||||||||
2017-12-07 17:32 | markmm82 | Status | new => scheduled | ||||||||||||||||
2017-12-11 16:50 | markmm82 | Note Added: 0100969 | |||||||||||||||||
2018-04-12 18:01 | aferraz | Relationship added | related to 0038218 | ||||||||||||||||
2018-04-12 18:14 | hgbot | Checkin | |||||||||||||||||
2018-04-12 18:14 | hgbot | Note Added: 0103860 | |||||||||||||||||
2018-04-12 18:14 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2018-04-12 18:14 | hgbot | Resolution | open => fixed | ||||||||||||||||
2018-04-12 18:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/eac492d3b3d20f3b684cf5026393dfb138eb69da [^] | ||||||||||||||||
2018-04-12 18:16 | aferraz | Review Assigned To | => aferraz | ||||||||||||||||
2018-04-12 18:16 | aferraz | Note Added: 0103861 | |||||||||||||||||
2018-04-12 18:16 | aferraz | Status | resolved => closed | ||||||||||||||||
2018-04-12 18:16 | aferraz | Fixed in Version | => 3.0PR18Q3 | ||||||||||||||||
2018-05-09 19:29 | hudsonbot | Checkin | |||||||||||||||||
2018-05-09 19:29 | hudsonbot | Note Added: 0104381 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|