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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011007
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2009-10-16 10:262009-12-10 00:00
ReporteriperdomoView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_15
OS Version2.6.30-gentoo-r5Database version8.3.8Ant version1.7.1
Product Version2.50MP5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011007: apply.modules fails with a NPE when trying to install a module through command line

DescriptionThe apply.modules task fails with a NPE when you try to install a module in command line and not using the Module Management Console (MMC).

Reason:
Some step in the apply.modules task needs info in this tables: AD_MODULE_INSTALL, AD_MODULE_DEPENDENCY_INSTALL and AD_MODULE_DBPREFIX_INSTALL and since is not there fails. Records in this tables are inserted just when using the MMC.

Attached you'll find a apply.modules.log (in debug mode)
Steps To Reproduce* Get the latest code (e.g. clone pi repo)
* Install the app. (ant setup, setup properties, ant install.source)
* Go to modules folder
* Get any public module directly to the modules folder
  e.g. /opt/AppsOpenbravo/modules $ hg clone https://code.openbravo.com/erp/mods/org.openbravo.concepts.xmlengine [^]
* Go to source root folder and execute: ant apply.modules -Dmodule=org.openbravo.concepts.xmlengine
Proposed SolutionThe apply.modules should work command line.
TagsModularity
Attached Filesgz file icon apply.modules.log.gz [^] (294,038 bytes) 2009-10-16 10:26

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0009931 closedmarvintm ant apply.modules fails on fresh installation 
has duplicate defect 0011006 closedmarvintm apply.modules fails with a NPE when trying to install a module through command line 

-  Notes
(0022599)
marvintm (developer)
2009-12-09 18:14

The apply.modules task is used by the rebuild window to build an already installed module. It shouldn't be used to apply a module which hasn't been installed through the application.

If you want to apply a module you have just uncompressed in the modules folder, you can just do:

ant smartbuild -Dlocal=no -Dapply.on.create=true

- Issue History
Date Modified Username Field Change
2009-10-16 10:26 iperdomo New Issue
2009-10-16 10:26 iperdomo Assigned To => marvintm
2009-10-16 10:26 iperdomo File Added: apply.modules.log.gz
2009-10-16 10:27 iperdomo Relationship added related to 0009931
2009-10-16 10:27 iperdomo Tag Attached: Modularity
2009-10-16 12:22 iperdomo Relationship added has duplicate 0011006
2009-10-16 14:01 psarobe Status new => scheduled
2009-10-16 14:01 psarobe fix_in_branch => pi
2009-12-09 18:14 marvintm Note Added: 0022599
2009-12-09 18:14 marvintm Status scheduled => closed
2009-12-09 18:14 marvintm Resolution open => no change required
2009-12-10 00:00 anonymous sf_bug_id 0 => 2911680


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker