Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0002576 | Openbravo ERP | A. Platform | public | 2008-01-31 11:44 | 2008-11-26 13:54 | |||||||
Reporter | rafaroda | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 2.40alpha-r2 | ||||||||||
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 | 0002576: SampleData and MetaData files and filters need a revision | |||||||||||
Description | *Environment OS: Ubuntu 7.04 DB: Oracle XE 10g OB: Trunk source dode 2196 Web browser: Firefox 2 *Steps to reproduce 1. Checkout trunk source code: svn co https://dev.openbravo.com/svn/openbravo/trunk [^] openbravo 2. Configure 'Openbravo.properties' file: http://wiki.openbravo.com/wiki/index.php/Installation_and_setup_of_Eclipse_IDE#Openbravo.properties_file [^] 3. Perform a create.database Ant task: ant create.database 4. Export metadata (sourcedata) from database: ant export.database.data 5. Go to 'database/sourcedata'. 6. Perform a 'svn diff' and log it to a file: svn diff > /path_where_you_want_to_put_the_log_file/sourcedata-diff.log Open the log file and notice that C_CURRENCY.xml, C_UOM.xml, C_CURRENCY_TRL.xml, C_UOM_TRL.xml and C_COUNTRY.xml files inside '/database/sourcedata/' folder have change (see attach). Differences between revision and working copy correspond to the differences between those files inside 'sourcedata' and 'sampledata'. For instance, compare 'database/sourcedata/C_UOM.xml' and 'database/sampledata/C_UOM.xml' for AD_CLIENT_ID=0. Solution: 1. Records containing AD_CLIENT_ID=0 should be removed from those files inside 'database/sampledata'. 2. New clauses concerning those files have to be added to 'OpenbravoDataFilter.java' file inside 'src-db/src/com/openbravo/db' path. Those clauses have to look like 'addTable("C_UOM", "AD_CLIENT_ID <> 0");' and need to be complementary with clauses inside 'OpenbravoMetadataFilter.java' file. | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2008-11-26 13:54 | psarobe | Regression testing | => No | |||||||||
2008-11-26 13:54 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|