Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010103Openbravo ERPY. DBSourceManagerpublic2009-07-29 11:392009-08-21 00:00
shuehner 
marvintm 
immediatecriticalhave not tried
closedfixed 
5
pi 
 
Core
No
0010103: Problem with update.database on new table which is directly used in ad_dataset in same update.database run
Check this build: http://builds.openbravo.com/job/erp_devel_pi-inc-pgsql/690/ [^]

The commit introduced a new table and at the same time uses this table in a dataset. On this combination update.database fails as it first updates the dataset entries, on which dal fails ad the ad_table entry is not yet inserted into the db.
No tags attached.
related to defect 0010104 closed marvintm update.database did delete all ad_table contents in update.database run afte another failed update.database run 
Issue History
2009-07-29 11:39shuehnerNew Issue
2009-07-29 11:39shuehnerAssigned To => marvintm
2009-07-29 12:10shuehnerRelationship addedrelated to 0010104
2009-07-30 10:19psarobePriorityurgent => immediate
2009-07-30 10:19psarobeSeveritymajor => critical
2009-07-30 10:19psarobeStatusnew => scheduled
2009-07-30 13:27hgbotCheckin
2009-07-30 13:27hgbotNote Added: 0018720
2009-07-30 13:27hgbotStatusscheduled => resolved
2009-07-30 13:27hgbotResolutionopen => fixed
2009-07-30 13:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/3be206fbbf04bd15f719e15cc05174327d7b8e8e [^]
2009-08-20 12:28plujanStatusresolved => closed
2009-08-21 00:00anonymoussf_bug_id0 => 2841456

Notes
(0018720)
hgbot   
2009-07-30 13:27   
Repository: erp/devel/pi
Changeset: 3be206fbbf04bd15f719e15cc05174327d7b8e8e
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Jul 30 13:26:20 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3be206fbbf04bd15f719e15cc05174327d7b8e8e [^]

Fixed issue 10103. Now update shouldn't crash when a new table has been added to the database, and added to the AD dataset, in the same update.

---
M src-db/database/lib/dbsourcemanager.jar
M src-db/database/sourcedata/AD_DATASET_TABLE.xml
---