Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008968Openbravo ERPA. Platformpublic2009-05-08 13:182009-07-20 13:53
plujan 
alostale 
highmajorhave not tried
closedfixed 
5
main 
2.50MP1 
Core
No
0008968: Cannot package industry template
I just created an industry template. When packaging the template, I got this error:
[validateModules] 0 [main] ERROR SystemValidation -
[validateModules]
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++
[validateModules] Errors for Validation type: MODULE_ERROR
[validateModules] +++++++++++++++++++++++++++++++++++++++++++++++++++
[validateModules] Module myTemplate is an Industry Template must depend on Core and the dependency relation must have isIncluded set to true

And can't continue. Note that Dependency tab has not an "isIncluded" check.
Create an industry template
Export database
Package module. Above error is displayed.
Move to dependecy tab, there is not "isIncluded" check to set to true.
250mp2, Modularity
related to defect 0008939 closed alostale Null Pointer Exception at packaging a Industry template 
Issue History
2009-05-08 13:18plujanNew Issue
2009-05-08 13:18plujanAssigned To => rafaroda
2009-05-08 13:18plujanRegression testing => No
2009-05-08 13:19plujanStatusnew => scheduled
2009-05-08 13:19plujanAssigned Torafaroda => alostale
2009-05-08 13:19plujanfix_in_branch => pi
2009-05-08 13:19plujanTag Attached: 250MP1
2009-05-08 13:19plujanTag Attached: Modularity
2009-05-08 13:22plujanPriorityurgent => high
2009-05-08 13:22plujanSeveritycritical => major
2009-05-08 13:22plujanfix_in_branchpi =>
2009-05-08 13:22plujanTag Detached: 250MP1
2009-05-08 13:22plujanTag Attached: 250mp2
2009-05-08 13:24plujanNote Added: 0016177
2009-05-08 15:12alostaleNote Added: 0016184
2009-05-08 15:16alostaleRelationship addedrelated to 0008939
2009-05-08 15:23hgbotCheckin
2009-05-08 15:23hgbotNote Added: 0016187
2009-05-08 15:23hgbotStatusscheduled => resolved
2009-05-08 15:23hgbotResolutionopen => fixed
2009-05-08 15:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/46d873465c656eefa0e2ed84d3e14614add9f70c [^]
2009-05-08 18:44plujanStatusresolved => closed
2009-05-09 00:00anonymoussf_bug_id0 => 2789246
2009-07-03 13:14hgbotCheckin
2009-07-03 13:14hgbotNote Added: 0017876
2009-07-03 13:14hgbotStatusclosed => resolved
2009-07-03 13:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/46d873465c656eefa0e2ed84d3e14614add9f70c [^] => http://code.openbravo.com/erp/devel/pi/rev/41044fe10ab520fa27852ba041b20aad6e1d4322 [^]
2009-07-20 13:53plujanStatusresolved => closed

Notes
(0016177)
plujan   
2009-05-08 13:24   
Note that message is not clear enough. In order to get the export working properly you have to add a row in Include tab instead of Dependency tab, that will make the validation work.
(0016184)
alostale   
2009-05-08 15:12   
In fact the error is not (only) the message. The problem is that it is verifying core is INCLUDED within the template whereas it should check it is part of the DEPENDENCIES.
(0016187)
hgbot   
2009-05-08 15:23   
Repository: erp/devel/pi
Changeset: 46d873465c656eefa0e2ed84d3e14614add9f70c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri May 08 15:18:32 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/46d873465c656eefa0e2ed84d3e14614add9f70c [^]

fixed bug 0008968: Cannot package industry template
            check for core dependency instead of for its inclusion when validating templates

---
M src/org/openbravo/service/system/ModuleValidator.java
---
(0017876)
hgbot   
2009-07-03 13:14   
Repository: erp/devel/pi
Changeset: 41044fe10ab520fa27852ba041b20aad6e1d4322
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri May 08 15:18:32 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/41044fe10ab520fa27852ba041b20aad6e1d4322 [^]

fixed bug 0008968: Cannot package industry template
            check for core dependency instead of for its inclusion when validating templates

---
M src/org/openbravo/service/system/ModuleValidator.java
---