Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010104Openbravo ERPY. DBSourceManagerpublic2009-07-29 12:102009-08-21 00:00
shuehner 
marvintm 
urgentmajorhave not tried
closedfixed 
5
pi 
 
Core
No
0010104: update.database did delete all ad_table contents in update.database run afte another failed update.database run
After the failed update.database run in this build:
http://builds.openbravo.com/job/erp_devel_pi-inc-pgsql/690/ [^] (see issue 0010103)

Another run without -Dforce=yes was attempted in build 691 and failed.

Trying do fix this with a manual update.database -Dforce=yes did fail also, but after this run ad_table,ad_tab, and other ad_* tables where completely empty...
http://builds.openbravo.com/job/erp_devel_pi-inc-pgsql/690/ [^]
Reproducible by hand-picking the hg revision involved in the mentioned builds above:

commit before 690 build: install.source
hg update to commit used in 690 build
update.database: fails with error from (0010103)
hg update to commit from 691 build
update.database -Dforce=yes -> ad_table empty
No tags attached.
related to defect 0010103 closed marvintm Problem with update.database on new table which is directly used in ad_dataset in same update.database run 
Issue History
2009-07-29 12:10shuehnerNew Issue
2009-07-29 12:10shuehnerAssigned To => marvintm
2009-07-29 12:10shuehnerRelationship addedrelated to 0010103
2009-07-30 18:56hgbotCheckin
2009-07-30 18:56hgbotNote Added: 0018733
2009-07-30 18:56hgbotStatusnew => resolved
2009-07-30 18:56hgbotResolutionopen => fixed
2009-07-30 18:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/201bf25dddcdf5a0ce78a38c5f96b7af199991b8 [^]
2009-08-20 12:28plujanStatusresolved => closed
2009-08-21 00:00anonymoussf_bug_id0 => 2841457

Notes
(0018733)
hgbot   
2009-07-30 18:56   
Repository: erp/devel/pi
Changeset: 201bf25dddcdf5a0ce78a38c5f96b7af199991b8
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jul 30 18:56:04 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/201bf25dddcdf5a0ce78a38c5f96b7af199991b8 [^]

Fixed issue 10104. OnCreateDefault should now execute correctly in all cases.

---
M src-db/database/lib/dbsourcemanager.jar
---