Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0000284 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Y. DBSourceManager | minor | always | 2008-05-12 19:38 | 2009-03-18 11:01 | |||
Reporter | jpabloae | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | low | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | 1.5.0_15 | |||
OS Version | Database version | 8.2.7 | Ant version | 1.7.0 | ||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0000284: Sampledata preimport is done when there are no XML files | |||||||
Description | DBSourceManager does the preimport and the postimport operations having no XML files in sampledata, this slows down the operation. Example output: import.database.sampledata: database.preimport.ORACLE: [importdata] Reading tables... [importdata] Reading views... [importdata] Reading sequences... [importdata] Reading triggers... [importdata] Reading functions... [importdata] Sorting foreign keys and checks... [importdata] Model loaded from database. database.postimport.ORACLE: | |||||||
Steps To Reproduce | 1. Delete src-db/database/sampledata/*.xml 2. Run "ant create.database" | |||||||
Tags | dbsm_migrate | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0000172) marvintm (developer) 2008-05-13 10:45 |
In fact, preimport and postimport operations are no longer executed before and after each data import tasks. However, the model loading still happens if the folder is empty, and that is not necessary, and takes most of the time. |
(0000173) marvintm (developer) 2008-05-13 10:47 |
Now neither the preimport and postimport operations nor the model loading will be executed in the import data process when the folder is empty. |
Issue History | |||
Date Modified | Username | Field | Change |
2008-05-12 19:38 | jpabloae | New Issue | |
2008-05-12 19:39 | jpabloae | Assigned To | => marvintm |
2008-05-12 19:39 | jpabloae | Steps to Reproduce Updated | |
2008-05-13 10:45 | marvintm | Note Added: 0000172 | |
2008-05-13 10:45 | marvintm | Status | new => @40@ |
2008-05-13 10:45 | marvintm | Status | @40@ => scheduled |
2008-05-13 10:47 | marvintm | Status | scheduled => resolved |
2008-05-13 10:47 | marvintm | Resolution | open => fixed |
2008-05-13 10:47 | marvintm | Note Added: 0000173 | |
2008-11-26 14:11 | psarobe | Status | resolved => closed |
2008-12-18 12:38 | jpabloae | Sticky Issue | No => Yes |
2008-12-18 12:39 | jpabloae | Sticky Issue | Yes => No |
2008-12-18 12:39 | jpabloae | Tag Attached: dbsm_migrate | |
2008-12-18 12:41 | jpabloae | Project | @4@ => Openbravo ERP |
2008-12-18 12:41 | jpabloae | Category | => Y. DBSourceManager |
2009-03-18 11:01 | anonymous | sf_bug_id | 0 => 2691261 |
Copyright © 2000 - 2009 MantisBT Group |