Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012541Openbravo ERPA. Platformpublic2010-03-03 16:272010-04-15 00:00
iperdomo 
marvintm 
urgentmajoralways
closedfixed 
5
2.50MP10 
2.50MP14 
Core
No
0012541: The module validation for a template fails if the dependency on core is not explicit
When you define a template conceptually there is no need to have a explicit dependency on core. You only have declare the dependency on the module that the template is modifying.

If you don't declare a dependency on core, the module validation fails.
- Create a template that modifies another module that is not core, this module does depends on core.
- Export and try to package it.
- The template must declare only one dependency, the module that is modifying.
No tags attached.
Issue History
2010-03-03 16:27iperdomoNew Issue
2010-03-03 16:27iperdomoAssigned To => marvintm
2010-03-03 16:28iperdomoStatusnew => scheduled
2010-03-03 16:28iperdomofix_in_branch => pi
2010-03-08 16:05jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-12 19:04hgbotCheckin
2010-03-12 19:04hgbotNote Added: 0025303
2010-03-12 19:04hgbotStatusscheduled => resolved
2010-03-12 19:04hgbotResolutionopen => fixed
2010-03-12 19:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a1114c73bf8ce7d6fc3cc4c02be089fd641afc3e [^]
2010-03-12 19:04hgbotCheckin
2010-03-12 19:04hgbotNote Added: 0025304
2010-03-16 08:41hudsonbotCheckin
2010-03-16 08:41hudsonbotNote Added: 0025518
2010-03-16 08:41hudsonbotCheckin
2010-03-16 08:41hudsonbotNote Added: 0025519
2010-04-14 18:20iperdomoNote Added: 0026214
2010-04-14 18:20iperdomoStatusresolved => closed
2010-04-15 00:00anonymoussf_bug_id0 => 2987416

Notes
(0025303)
hgbot   
2010-03-12 19:04   
Repository: erp/devel/pi
Changeset: a1114c73bf8ce7d6fc3cc4c02be089fd641afc3e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Mar 12 19:07:36 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a1114c73bf8ce7d6fc3cc4c02be089fd641afc3e [^]

Fixed issue 12541. Removed the specialized check for templates (the general one should apply both to modules and templates). Replaced the error with a warning (it should still be possible to package a module/template which doesn't depend on Core)

---
M src/org/openbravo/service/system/ModuleValidator.java
---
(0025304)
hgbot   
2010-03-12 19:04   
Repository: erp/devel/pi
Changeset: ab9028f3572514af52d4a8b7bd74c1441278b5c1
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Mar 12 19:10:16 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ab9028f3572514af52d4a8b7bd74c1441278b5c1 [^]

Related to issue 12541. Changed type of the generated warning

---
M src/org/openbravo/service/system/ModuleValidator.java
M src/org/openbravo/service/system/SystemValidationResult.java
---
(0025518)
hudsonbot   
2010-03-16 08:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a1114c73bf8c [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3e52c5b52d67 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16713.obx [^]
(0025519)
hudsonbot   
2010-03-16 08:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/ab9028f35725 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3e52c5b52d67 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16713.obx [^]
(0026214)
iperdomo   
2010-04-14 18:20   
Tested on PI @ rev b20cb5f43144