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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021334
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupminoralways2012-08-09 10:412012-08-28 12:12
ReportergorkaionView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiondae6fd3d154a
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product VersionpiSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021334: Improve error message in Initial Client setup when no source.path is defined

DescriptionThe initial client setup fails in the import datasets phase when the source path is not defined in the Openbravo.properties file.

Current error message is null.
Steps To ReproduceOn any instance remove the source path configuration of Openbravo.properties file.

Try to run the Initial Client Setup process importing core's dataset.
Proposed SolutionThe InitialSetupUtility.insertReferenceData() method returns null when the xml file is not found. This should be changed to throw an exception with a proper message.

The InitialClientSetup class is not checking if the previous method returns null, causing a null pointer access error in the line 660.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051528)
naiaramartinez (developer)
2012-08-24 10:23

On any instance remove the source path configuration of Openbravo.properties file.

Run the Initial Client Setup process importing core's dataset.

Notice that the following message is shown: 'Source path not defined in Openbravo.properties'
(0051589)
hgbot (developer)
2012-08-28 12:11

Repository: erp/devel/pi
Changeset: dae6fd3d154a89d197f0687e3d4e3289f2b2c24a
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Fri Aug 24 10:21:30 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dae6fd3d154a89d197f0687e3d4e3289f2b2c24a [^]

fixed bug 21334 Initial Client Setup:Improve error message when no source.path is defined

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/businessUtility/InitialClientSetup.java
M src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
---
(0051590)
dmiguelez (developer)
2012-08-28 12:12

Code Review + Testing OK

- Issue History
Date Modified Username Field Change
2012-08-09 10:41 gorkaion New Issue
2012-08-09 10:41 gorkaion Assigned To => mirurita
2012-08-09 10:41 gorkaion Modules => Core
2012-08-24 10:14 naiaramartinez Assigned To mirurita => naiaramartinez
2012-08-24 10:18 naiaramartinez Status new => scheduled
2012-08-24 10:18 naiaramartinez fix_in_branch => pi
2012-08-24 10:23 naiaramartinez Note Added: 0051528
2012-08-28 12:11 hgbot Checkin
2012-08-28 12:11 hgbot Note Added: 0051589
2012-08-28 12:11 hgbot Status scheduled => resolved
2012-08-28 12:11 hgbot Resolution open => fixed
2012-08-28 12:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dae6fd3d154a89d197f0687e3d4e3289f2b2c24a [^]
2012-08-28 12:12 dmiguelez Closed by => dmiguelez
2012-08-28 12:12 dmiguelez Note Added: 0051590
2012-08-28 12:12 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker