Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0011406 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] Y. DBSourceManager | minor | always | 2009-11-18 19:05 | 2012-03-02 15:36 | |||
| Reporter | rafaroda | View Status | public | |||||
| Assigned To | marvintm | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 3.0MP9 | |||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | 34aaf22a4ca0 | |||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6.0_16 | |||
| OS Version | Professional Appliance | Database version | 8.3.8 | Ant version | 1.7.1 | |||
| Product Version | pi | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | Core | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0011406: export.database creates useless model folder and sub-folders | |||||||
| Description | When a modules does not have database artifacts (tables, views, funcitons, ...) export.database creates useless model folder and sub-folders | |||||||
| Steps To Reproduce | 1) 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. | |||||||
| Tags | dev-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 (viewer) 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 |
| 2009-11-18 19:05 | rafaroda | OBNetwork customer | => No |
| 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 |