Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0017953 | Openbravo ERP | 09. Financial management | public | 2011-07-11 11:56 | 2011-07-26 10:02 | |||||||
| Reporter | dalsasua | |||||||||||
| Assigned To | dalsasua | |||||||||||
| Priority | urgent | Severity | major | Reproducibility | always | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 20 | OS Version | Ubuntu 10.10 | ||||||||
| Product Version | pi | |||||||||||
| Target Version | 3.0MP1 | Fixed in Version | 2.50MP32 | |||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | Google Chrome, Mozilla Firefox | |||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0017953: Initial Client Setup failure | |||||||||||
| Description | Initial Client Setup is failing in case accounting is created. | |||||||||||
| Steps To Reproduce | - Run Initial Client Setup - Choose create accounting, providing any CoA - Realize an error is shown. | |||||||||||
| Proposed Solution | diff --git a/src/org/openbravo/erpCommon/businessUtility/COAUtility.java b/src/org/openbravo/erpCommon/businessUtility/COAUtility.java --- a/src/org/openbravo/erpCommon/businessUtility/COAUtility.java +++ b/src/org/openbravo/erpCommon/businessUtility/COAUtility.java @@ -414,11 +414,13 @@ log4j.debug("insertAccountingSchema() - Acct.schema defaults correctly iserted."); log4j.debug("insertAccountingSchema() - Inserting Organization Accounting Schema record."); - OrganizationAcctSchema orgAcctSchema; + OrganizationAcctSchema orgAcctSchema = null; + if (organization != null && organization.getId() != "0") { try { orgAcctSchema = InitialSetupUtility.insertOrgAcctSchema(client, acctSchema, organization); } catch (Exception e) { - return logError("@CreateAccountingFailed@", + return logError( + "@CreateAccountingFailed@", "insertAccountingSchema() - Exception while creating organization - acct. schema entry", e); } @@ -426,7 +428,7 @@ if (orgAcctSchema == null) return logError("@CreateAccountingFailed@", "insertAccountingSchema() - Exception while creating organization - acct. schema entry"); - + } return obeResult; } | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2011-07-11 12:35 | dalsasua | Type | defect => backport | |||||||||
| 2011-07-11 12:35 | dalsasua | fix_in_branch | => 2.50 | |||||||||
| 2011-07-11 13:24 | hgbot | Checkin | ||||||||||
| 2011-07-11 13:24 | hgbot | Note Added: 0038972 | ||||||||||
| 2011-07-11 13:24 | hgbot | Status | scheduled => resolved | |||||||||
| 2011-07-11 13:24 | hgbot | Resolution | open => fixed | |||||||||
| 2011-07-11 13:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/stable/2.50/rev/3e7ae53816059eca621de8996b799a2a0dd02b2f [^] | |||||||||
| 2011-07-26 10:02 | jonalegriaesarte | Note Added: 0039351 | ||||||||||
| 2011-07-26 10:02 | jonalegriaesarte | Status | resolved => closed | |||||||||
| 2011-07-26 10:02 | jonalegriaesarte | Fixed in Version | => 2.50MP32 | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||