Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011420Openbravo ERPZ. Otherspublic2009-11-19 14:562009-11-22 00:00
shuehner 
marvintm 
immediatemajorhave not tried
closedfixed 
5
pi 
2.50MP9 
Core
No
0011420: api checkbuild 210 fails
This api check build fails:

http://builds.openbravo.com/job/erp_devel_pi-module-integrity-test/210/console [^]


This issue tracks the following problem:
org.openbravo.ddlutils.task:
Missing
method org.openbravo.ddlutils.task.ExportDatabase.getModule(): missing in /var/www/localhost/htdocs/japi/210
method org.openbravo.ddlutils.task.ExportDatabase.setModule(java.lang.String): missing in /var/www/localhost/htdocs/japi/210
No tags attached.
Issue History
2009-11-19 14:56shuehnerNew Issue
2009-11-19 14:56shuehnerAssigned To => marvintm
2009-11-19 15:00shuehnerNote Added: 0022018
2009-11-19 15:01shuehnerTarget Version => 2.50MP9
2009-11-19 15:15marvintmNote Added: 0022020
2009-11-19 15:15marvintmAssigned Tomarvintm => pjuvara
2009-11-20 09:11pjuvaraStatusnew => scheduled
2009-11-20 09:11pjuvaraNote Added: 0022043
2009-11-20 09:11pjuvaraAssigned Topjuvara => marvintm
2009-11-20 09:11pjuvarafix_in_branch => pi
2009-11-20 10:52hgbotCheckin
2009-11-20 10:52hgbotNote Added: 0022052
2009-11-20 10:52hgbotStatusscheduled => resolved
2009-11-20 10:52hgbotResolutionopen => fixed
2009-11-20 10:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/267c14bc53fc6602681a850c55b81cf51ab610e0 [^]
2009-11-20 10:55marvintmNote Added: 0022053
2009-11-20 10:55marvintmStatusresolved => closed
2009-11-22 00:00anonymoussf_bug_id0 => 2901910

Notes
(0022018)
shuehner   
2009-11-19 15:00   
This should probably be ignored. The affected class implement the 'ant export.database' command. This command did accept a -Dmodule parameter to only export a single module. However this single-module export did never work correctly and the official documentation is that the task does always export all modules in development and the export time.

The removed module correspond to the removed -Dmodule parameter and are called indirectly by ant and normally not directly by anyone. As the code using the parameter has been removed it does not make sense to keep the functions around, which would give the impression that the parameter does anything.

A clarification mail regarding the -Dmodule parameter was sent to the -development list to inform/remind people about the implemented behavior.
(0022020)
marvintm   
2009-11-19 15:15   
Yes, I agree with Stefan, this was caused by a change in a dbsourcemanager class. There shouldn't be any modules that use this dbsourcemanager task directly through Java code, so this is really a non-issue.

Note that direct ant calls to the export.database task will continue to work correctly, whether they use the -Dmodule property or not. The only problem could be if somebody tried to instantiate the Task class in a Java class, something that would be really strange.
(0022043)
pjuvara   
2009-11-20 09:11   
Exception accepted, but let's not fully ignore this.
Please publish an alert indicating no risk because of the API change.
(0022052)
hgbot   
2009-11-20 10:52   
Repository: erp/devel/api-checks
Changeset: 267c14bc53fc6602681a850c55b81cf51ab610e0
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Nov 20 10:52:10 2009 +0100
URL: http://code.openbravo.com/erp/devel/api-checks/rev/267c14bc53fc6602681a850c55b81cf51ab610e0 [^]

Fixed issue 11420 (accepted API change).

---
M java/reference/250.japi.gz
---
(0022053)
marvintm   
2009-11-20 10:55   
Accepted.