Openbravo Issue Tracking System - Modules
View Issue Details
0026343ModulesService Contract Managementpublic2014-04-23 12:192014-05-26 13:36
iperdomo 
vmromanos 
normalmajoralways
closedfixed 
30Oracle Linux 3.8.13-26.1.1.el6ue
 
 
naiaramartinez
0026343: Service Contract Management template doesn't have the correct dependency

The Service Contract Management Template includes the following modules:
* Contract Management Infrastructure
* Service Contract Invoice Presentment
* Service Contract Management

Following the dependencies the "Service Contract Management" depends > "Contract Management Infrastructure" and this one depends on "Openbravo Framework 3.0"

However since this is a template, it should be applied in *order*, and the current dependency graph doesn't end up depending on "Openbravo 3.0" template.

When updating the database the application of the configScript.xml is arbitrary
Create a template that depends indirectly on "Openbravo Framework 3.0" but not the template.

Try to install the template in several machines, and you'll end with some arbitrary order when applying the configScript.xml
* Service Contract Management Template should depend on the Openbravo 3.0 template, or
* Contract Management Infrastructure should depend on Openbravo 3.0 template
No tags attached.
Issue History
2014-04-23 12:19iperdomoNew Issue
2014-04-23 12:19iperdomoAssigned To => vmromanos
2014-04-25 12:38vmromanosStatusnew => scheduled
2014-04-25 12:38vmromanosfix_in_branch => pi
2014-04-25 12:50hgbotCheckin
2014-04-25 12:50hgbotNote Added: 0066618
2014-04-25 12:50hgbotStatusscheduled => resolved
2014-04-25 12:50hgbotResolutionopen => fixed
2014-04-25 12:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services.template/rev/20a3b595f9210038b0a0210ce7c6c759c3e5a7c5 [^]
2014-04-25 15:25iperdomoNote Added: 0066627
2014-05-26 13:36naiaramartinezReview Assigned To => naiaramartinez
2014-05-26 13:36naiaramartinezNote Added: 0067447
2014-05-26 13:36naiaramartinezStatusresolved => closed

Notes
(0066618)
hgbot   
2014-04-25 12:50   
Repository: erp/pmods/org.openbravo.contract.services.template
Changeset: 20a3b595f9210038b0a0210ce7c6c759c3e5a7c5
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri Apr 25 12:45:55 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services.template/rev/20a3b595f9210038b0a0210ce7c6c759c3e5a7c5 [^]

Fixed bug 26343: Added dependency to Openbravo 3.0 Template

This ensure the application of the configScript.xml is not arbitrary anymore

---
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0066627)
iperdomo   
2014-04-25 15:25   
@vmromanos

Does this change should trigger also a change in module version?
(0067447)
naiaramartinez   
2014-05-26 13:36   
Code review OK