Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0017951 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] 09. Financial management | major | always | 2011-07-11 11:56 | 2011-08-01 14:19 | |||
| Reporter | dalsasua | View Status | public | |||||
| Assigned To | dalsasua | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP2 | |||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | 468cea8e7e38 | |||
| Projection | none | ETA | none | Target Version | 3.0MP1 | |||
| OS | Linux 32 bit | Database | Oracle | Java version | 1.6.0_21 | |||
| OS Version | Ubuntu 10.10 | Database version | 11.2.0 SE | Ant version | 1.8.0 | |||
| Product Version | pi | SCM revision | 33ca9da896b7 | |||||
| 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; } | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0038967) hgbot (developer) 2011-07-11 12:40 |
Repository: erp/devel/pi Changeset: 468cea8e7e38e8097bf46539545e40c829470588 Author: David Alsasua <david.alsasua <at> openbravo.com> Date: Mon Jul 11 12:39:36 2011 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/468cea8e7e38e8097bf46539545e40c829470588 [^] Fixes issue 17951. When creating a new client, org acct schema tab should not be filled in --- M src/org/openbravo/erpCommon/businessUtility/COAUtility.java --- |
|
(0039050) malsasua (viewer) 2011-07-14 10:13 |
tested: it works fine |
|
(0039578) hudsonbot (viewer) 2011-08-01 14:19 |
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/cf2afed6e8ef [^] Maturity status: Test |
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 | |
| Copyright © 2000 - 2009 MantisBT Group |