Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006585Openbravo ERP00. Application dictionarypublic2008-12-16 15:242009-03-03 17:16
alostale 
marvintm 
immediatecriticalN/A
closedfixed 
5
 
pi2.40MP2 
Core
No
0006585: Wrong columns re-creation
A_ASSET.ANNUALAMORTIZATIONPORCENTAGE and A_AMORTIZATIONLINE.AMORTIZATION_PORCENTAGE DB columns were renamed to A_ASSET.ANNUALAMORTIZATIONPERCENTAGE and A_AMORTIZATIONLINE.AMORTIZATION_PERCENTAGE resolving issue 0005679. As the new column don't have "on create default" clause they are treated by DBSourceManager as a column re-creation, so data in the old column will be lost when upgrading.
Add on create default for these columns
platform1_sprint1
blocks defect 0006583pi closed marvintm Wrong columns re-creation 
Issue History
2008-12-16 15:24alostaleNew Issue
2008-12-16 15:24alostaleAssigned To => marvintm
2008-12-16 15:24alostaleStatusnew => scheduled
2008-12-16 15:59svnbotCheckin
2008-12-16 15:59svnbotNote Added: 0011417
2008-12-16 15:59svnbotStatusscheduled => resolved
2008-12-16 15:59svnbotResolutionopen => fixed
2008-12-16 15:59svnbotsvn_revision => 11246
2008-12-16 16:01svnbotCheckin
2008-12-16 16:01svnbotNote Added: 0011418
2008-12-16 16:01svnbotsvn_revision11246 => 11249
2008-12-16 16:02marvintmTag Attached: platform1_sprint1
2009-03-03 17:16psarobeStatusresolved => closed

Notes
(0011417)
svnbot   
2008-12-16 15:59   
Repository: openbravo
Revision: 11246
Author: marvintm
Date: 2008-12-16 15:59:22 +0100 (Tue, 16 Dec 2008)

Fixed issue 6585. Added onCreateDefaults

---
U branches/r2.40/src-db/database/model/tables/A_AMORTIZATIONLINE.xml
U branches/r2.40/src-db/database/model/tables/A_ASSET.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11246&sc=1 [^]
(0011418)
svnbot   
2008-12-16 16:01   
Repository: openbravo
Revision: 11249
Author: marvintm
Date: 2008-12-16 16:01:15 +0100 (Tue, 16 Dec 2008)

Fixed issue 6585. Added onCreateDefaults

---
U branches/r2.40mp1/src-db/database/model/tables/A_AMORTIZATIONLINE.xml
U branches/r2.40mp1/src-db/database/model/tables/A_ASSET.xml
---

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