Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0017951 | Openbravo ERP | 09. Financial management | public | 2011-07-11 11:56 | 2011-08-01 14:19 | |||||||
| 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 | 3.0MP2 | |||||||||
| 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 | 0017951: 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 11:56 | dalsasua | New Issue | ||||||||||
| 2011-07-11 11:56 | dalsasua | Assigned To | => dalsasua | |||||||||
| 2011-07-11 11:56 | dalsasua | Web browser | => Google Chrome, Mozilla Firefox | |||||||||
| 2011-07-11 11:56 | dalsasua | Modules | => Core | |||||||||
| 2011-07-11 11:56 | dalsasua | OBNetwork customer | => No | |||||||||
| 2011-07-11 12:35 | dalsasua | Status | new => scheduled | |||||||||
| 2011-07-11 12:35 | dalsasua | fix_in_branch | => pi | |||||||||
| 2011-07-11 12:40 | hgbot | Checkin | ||||||||||
| 2011-07-11 12:40 | hgbot | Note Added: 0038967 | ||||||||||
| 2011-07-11 12:40 | hgbot | Status | scheduled => resolved | |||||||||
| 2011-07-11 12:40 | hgbot | Resolution | open => fixed | |||||||||
| 2011-07-11 12:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/468cea8e7e38e8097bf46539545e40c829470588 [^] | |||||||||
| 2011-07-14 10:13 | malsasua | Note Added: 0039050 | ||||||||||
| 2011-07-14 10:13 | malsasua | Status | resolved => closed | |||||||||
| 2011-07-14 10:13 | malsasua | Fixed in Version | => 3.0MP2 | |||||||||
| 2011-08-01 14:19 | hudsonbot | Checkin | ||||||||||
| 2011-08-01 14:19 | hudsonbot | Note Added: 0039578 | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||