Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011007 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2009-10-16 10:26 | 2009-12-10 00:00 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | urgent | Resolution | no change required | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_15 | |||
OS Version | 2.6.30-gentoo-r5 | Database version | 8.3.8 | Ant version | 1.7.1 | |||
Product Version | 2.50MP5 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011007: apply.modules fails with a NPE when trying to install a module through command line | |||||||
Description | The 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 Solution | The apply.modules should work command line. | |||||||
Tags | Modularity | |||||||
Attached Files | apply.modules.log.gz [^] (294,038 bytes) 2009-10-16 10:26 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
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 |