Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009136Openbravo ERPY. DBSourceManagerpublic2009-05-21 18:052009-06-20 00:00
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
pi 
pi 
Core
No
0009136: If a module doesn't have a dbprefix defined, the module sourcedata is not exported
If a module doesn't have a dbprefix defined, and the export.database task is run with the -Dmodule property set, the module sourcedata is not exported.
Create a module without a dbprefix. Then do:

ant export.ddatabase -Dmodule=javapackage_of_the_module

This task should export the sourcedata of the module (its module definition in ad_module and its dependencies). However, it doesn't do anything.
No tags attached.
Issue History
2009-05-21 18:05marvintmNew Issue
2009-05-21 18:05marvintmAssigned To => marvintm
2009-05-25 14:12rafarodaNote Added: 0016623
2009-05-25 14:12rafarodaStatusnew => scheduled
2009-05-25 14:14rafarodaversion => pi
2009-05-25 15:16marvintmProposed Solution updated
2009-05-25 17:33hgbotCheckin
2009-05-25 17:33hgbotNote Added: 0016633
2009-05-25 17:33hgbotStatusscheduled => resolved
2009-05-25 17:33hgbotResolutionopen => fixed
2009-05-25 17:36hgbotCheckin
2009-05-25 17:36hgbotNote Added: 0016634
2009-05-25 17:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/056829ab625faa55446c31c46faf0fc311b7830b [^]
2009-06-19 07:40sureshbabuStatusresolved => closed
2009-06-19 07:40sureshbabuNote Added: 0017447
2009-06-19 07:40sureshbabuFixed in Version => pi
2009-06-20 00:00anonymoussf_bug_id0 => 2809267

Notes
(0016623)
rafaroda   
2009-05-25 14:12   
Antonio,

Please provide the steps to reproduce this issue.

Thanks.
(0016633)
hgbot   
2009-05-25 17:33   
Repository: dbsourcemanager
Revision: 324
Author: marvintm
Date: 2009-05-25 17:33:36 +0200 (Mon, 25 May 2009)

Fixed issue 9136. Now the sourcedata of a module will be exported even if it doesn't have a dbprefix.

---
U trunk/src/org/openbravo/ddlutils/task/ExportDatabase.java
---

https://dev.openbravo.com/websvn/dbsourcemanager/?rev=324&sc=1 [^]
(0016634)
hgbot   
2009-05-25 17:36   
Repository: erp/devel/pi
Changeset: 056829ab625faa55446c31c46faf0fc311b7830b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 25 17:34:06 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/056829ab625faa55446c31c46faf0fc311b7830b [^]

Fixed issue 9136. Now the sourcedata of a module will be exported even if it doesn't have a dbprefix.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0017447)
sureshbabu   
2009-06-19 07:40   
Tested working fine, org.openbravo.oragadam package is created in the modules folder.