Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005824Openbravo ERPY. DBSourceManagerpublic2008-11-04 18:012009-04-22 00:00
marvintm 
marvintm 
highmajoralways
closedfixed 
5
 
 
Core
No
0005824: Update.database deletes some rows in AD_TREENODE table
When you do a update.database, some rows are removed from table AD_TREENODE. The reason for this is that AD_TREENODE is not completely contained in "sourcedata", and currently the dataset doesn't know which rows of the table have to be compared with the sourcedata files.
Just do a create.database, and afterwards an update.database.
We have to include a whereclause in the dataset_table to define exactly which rows should be compared.
dbsm_migrate
Issue History
2008-11-04 18:01marvintmNew Issue
2008-11-04 18:01marvintmAssigned To => marvintm
2008-11-04 18:25svnbotCheckin
2008-11-04 18:25svnbotNote Added: 0009979
2008-11-04 18:25svnbotStatusnew => resolved
2008-11-04 18:25svnbotResolutionopen => fixed
2008-11-04 18:25svnbotsvn_revision => 9649
2008-12-18 12:38jpabloaeSticky IssueNo => Yes
2008-12-18 12:39jpabloaeSticky IssueYes => No
2008-12-18 12:39jpabloaeTag Attached: dbsm_migrate
2008-12-18 12:41jpabloaeProject@4@ => Openbravo ERP
2008-12-18 12:41jpabloaeCategory => Y. DBSourceManager
2009-04-21 11:07psarobeStatusresolved => closed
2009-04-22 00:00anonymoussf_bug_id0 => 2777908

Notes
(0009979)
svnbot   
2008-11-04 18:25   
Repository: openbravo
Revision: 9649
Author: marvintm
Date: 2008-11-04 18:25:25 +0100 (Tue, 04 Nov 2008)

Fixed issue 5824. Now update.database should not remove rows in AD_TREENODE.

---
U branches/modularity/src-db/database/sourcedata/AD_DATASET_TABLE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=9649&sc=1 [^]