Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021334 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 01. General setup | minor | always | 2012-08-09 10:41 | 2012-08-28 12:12 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | naiaramartinez | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | dae6fd3d154a | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.5.0_15 | |||
OS Version | Gentoo | Database version | 11g | Ant version | 1.7.0 | |||
Product Version | pi | SCM revision | ||||||
Review Assigned To | dmiguelez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021334: Improve error message in Initial Client setup when no source.path is defined | |||||||
Description | The 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 Reproduce | On any instance remove the source path configuration of Openbravo.properties file. Try to run the Initial Client Setup process importing core's dataset. | |||||||
Proposed Solution | The 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. | |||||||
Tags | No 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 |