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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0000284
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminoralways2008-05-12 19:382009-03-18 11:01
ReporterjpabloaeView Statuspublic 
Assigned Tomarvintm 
PrioritylowResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version1.5.0_15
OS VersionDatabase version8.2.7Ant version1.7.0
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0000284: Sampledata preimport is done when there are no XML files

DescriptionDBSourceManager 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 Reproduce1. Delete src-db/database/sampledata/*.xml
2. Run "ant create.database"
Tagsdbsm_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
Powered by Mantis Bugtracker