Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016331Openbravo ERPA. Platformpublic2011-03-16 15:432011-03-17 00:00
marvintm 
marvintm 
normalmajorhave not tried
closedfixed 
5
 
3.0RC5 
Core
No
0016331: On update.database types should not be checked for the loaded from database model
On update.database types should not be checked for the loaded from database model, because we don't care about columns which will be removed, and we don't care about the old type of the column in case it was changed, we care only about the new one.
No tags attached.
Issue History
2011-03-16 15:43marvintmNew Issue
2011-03-16 15:43marvintmAssigned To => marvintm
2011-03-16 15:43marvintmModules => Core
2011-03-16 15:43marvintmStatusnew => scheduled
2011-03-16 15:43marvintmfix_in_branch => pi
2011-03-16 15:49marvintmTarget Version => 3.0RC5
2011-03-16 15:49marvintmfix_in_branchpi =>
2011-03-16 18:17hgbotCheckin
2011-03-16 18:17hgbotNote Added: 0034952
2011-03-16 18:17hgbotStatusscheduled => resolved
2011-03-16 18:17hgbotResolutionopen => fixed
2011-03-16 18:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8f593389661dc9a2724ad64d3e25594165373c2d [^]
2011-03-16 18:17hgbotCheckin
2011-03-16 18:17hgbotNote Added: 0034956
2011-03-16 18:17hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/8f593389661dc9a2724ad64d3e25594165373c2d [^] => http://code.openbravo.com/erp/devel/dbsm-main/rev/d295237e3408f3d9be9deaeaf3c1b38b9cb21c26 [^]
2011-03-16 18:19hgbotCheckin
2011-03-16 18:19hgbotNote Added: 0034957
2011-03-16 18:19hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/dbsm-main/rev/d295237e3408f3d9be9deaeaf3c1b38b9cb21c26 [^] => http://code.openbravo.com/erp/stable/2.50/rev/437a06f270a020cbcdcdd1a5b93c0ae2f52ce487 [^]
2011-03-16 18:20shuehnerNote Added: 0034960
2011-03-16 18:20shuehnerStatusresolved => closed
2011-03-17 00:00anonymoussf_bug_id0 => 3217702

Notes
(0034952)
hgbot   
2011-03-16 18:17   
Repository: erp/devel/pi
Changeset: 8f593389661dc9a2724ad64d3e25594165373c2d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 16 18:15:40 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8f593389661dc9a2724ad64d3e25594165373c2d [^]

Fixed issue 16331. Fixed issue 16329. Fixed issue 16334.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0034956)
hgbot   
2011-03-16 18:17   
Repository: erp/devel/dbsm-main
Changeset: d295237e3408f3d9be9deaeaf3c1b38b9cb21c26
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 16 18:14:16 2011 +0100
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/d295237e3408f3d9be9deaeaf3c1b38b9cb21c26 [^]

Fixed issue 16331. Data types will not be checked on the loaded model.

---
M src/org/openbravo/ddlutils/task/AlterDatabaseDataAll.java
---
(0034957)
hgbot   
2011-03-16 18:19   
Repository: erp/stable/2.50
Changeset: 437a06f270a020cbcdcdd1a5b93c0ae2f52ce487
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Mar 16 18:18:33 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/437a06f270a020cbcdcdd1a5b93c0ae2f52ce487 [^]

Fixed issue 16331. Fixed issue 16329. Fixed issue 16334.

---
M src-db/database/lib/dbsourcemanager.jar
---
(0034960)
shuehner   
2011-03-16 18:20   
Tested with update.db from 2.50MP0 to latest main (rev: 42cb4c157d3e) which failed without this fix as the datatype used for binary column by the erp on postgres changed from blob -> bytea and the check for the in-db model prevented the update.