Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011406
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminoralways2009-11-18 19:052012-03-02 15:36
ReporterrafarodaView Statuspublic 
Assigned Tomarvintm 
PriorityhighResolutionfixedFixed in Version3.0MP9
StatusclosedFix in branchpiFixed in SCM revision34aaf22a4ca0
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_16
OS VersionProfessional ApplianceDatabase version8.3.8Ant version1.7.1
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011406: export.database creates useless model folder and sub-folders

DescriptionWhen a modules does not have database artifacts (tables, views, funcitons, ...) export.database creates useless model folder and sub-folders
Steps To Reproduce1) Set a module with no database artifacts as in development, for instance, http://forge.openbravo.com/projects/ordersawaitingdlivery [^]
2) ant export.database

See that in modules folder, inside org.openbravo.reports.ordersawaitingdelivery, database folder has model folder and sub-folders.
Tagsdev-platform-quick-wins
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0045087)
hgbot (developer)
2012-02-14 11:22

Repository: erp/devel/dbsm-main
Changeset: 20f9143f58fca114baec024cdd3645aacc183b46
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 14 11:20:46 2012 +0100
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/20f9143f58fca114baec024cdd3645aacc183b46 [^]

Fixed issue 11406. Model subfolders and the main model folder will not be created if there is no need.

---
M src/org/apache/ddlutils/io/DatabaseIO.java
---
(0045088)
hgbot (developer)
2012-02-14 11:26

Repository: erp/devel/pi
Changeset: 34aaf22a4ca0af27f4e13200523828a21b18c891
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Feb 14 11:25:09 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/34aaf22a4ca0af27f4e13200523828a21b18c891 [^]

Fixed issue 11406. Model subfolders and the main model folder will not be created if there is no need.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0045188)
AugustoMauch (administrator)
2012-02-16 12:28

Code reviewed and verified.

Test plan:
- Create a new module (e.g. testIssue11406, with java package name org.openbravo.testIssue11406) and execute export.database. The folder modules/org.openbravo.testIssue11406/src-db/database/sourcedata folder should have been created. No more folder should have been created under modules/org.openbravo.testIssue11406
- Add a db-prefix to the module (e.g. IS11406), and create a table in the database (e.g. IS11406_Test). Execute again export.database. Only one new folder should be created: modules/org.openbravo.testIssue11406/src-db/database/model/tables
(0045840)
hudsonbot (developer)
2012-03-02 15:36

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/544d64e0c159 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2009-11-18 19:05 rafaroda New Issue
2009-11-18 19:05 rafaroda Assigned To => marvintm
2010-01-19 09:43 alostale Status new => scheduled
2010-01-19 09:43 alostale fix_in_branch => pi
2010-08-30 15:38 rafaroda Tag Attached: dev-platform-quick-wins
2012-02-14 11:22 hgbot Checkin
2012-02-14 11:22 hgbot Note Added: 0045087
2012-02-14 11:22 hgbot Status scheduled => resolved
2012-02-14 11:22 hgbot Resolution open => fixed
2012-02-14 11:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/dbsm-main/rev/20f9143f58fca114baec024cdd3645aacc183b46 [^]
2012-02-14 11:26 hgbot Checkin
2012-02-14 11:26 hgbot Note Added: 0045088
2012-02-14 11:26 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/dbsm-main/rev/20f9143f58fca114baec024cdd3645aacc183b46 [^] => http://code.openbravo.com/erp/devel/pi/rev/34aaf22a4ca0af27f4e13200523828a21b18c891 [^]
2012-02-16 12:28 AugustoMauch Note Added: 0045188
2012-02-16 12:28 AugustoMauch Status resolved => closed
2012-02-16 12:28 AugustoMauch Fixed in Version => 3.0MP9
2012-03-02 15:36 hudsonbot Checkin
2012-03-02 15:36 hudsonbot Note Added: 0045840


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker