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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017951
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2011-07-11 11:562011-08-01 14:19
ReporterdalsasuaView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version3.0MP2
StatusclosedFix in branchpiFixed in SCM revision468cea8e7e38
ProjectionnoneETAnoneTarget Version3.0MP1
OSLinux 32 bitDatabaseOracleJava version1.6.0_21
OS VersionUbuntu 10.10Database version11.2.0 SEAnt version1.8.0
Product VersionpiSCM revision33ca9da896b7 
Review Assigned To
Web browserGoogle Chrome, Mozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0017951: Initial Client Setup failure

DescriptionInitial 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 Solutiondiff --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;
   }
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00179533.0MP1 closeddalsasua Initial Client Setup failure 

-  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 (developer)
2011-07-14 10:13

tested: it works fine
(0039578)
hudsonbot (developer)
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 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
Powered by Mantis Bugtracker