Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013638
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-06-14 11:432010-06-16 19:01
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisione92cbd6025be
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP18SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013638: AD_PREFERENCE table had new required column added without an onCreateDefault

DescriptionA new required column "SELECTED" was added to this table, but its missing an onCreateDefault clause which will make module installations cause errors shown (not unll constraint cannot be activated...) if the module ships a row for this table and does not contain the new column in its sourcedata xml-file.
TagsRegression
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0013640 closedAugustoMauch api-check needs to be updated to check for onCreateDefault for new,required columns in tables contained in the AD dataset 

-  Notes
(0028358)
hgbot (developer)
2010-06-14 12:26

Repository: erp/devel/pi
Changeset: e92cbd6025bea89de5c12cb8b9bdaca550d60805
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jun 14 12:09:08 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e92cbd6025bea89de5c12cb8b9bdaca550d60805 [^]

Fixed issue 13638. Added oncreatedefault to SELECTED column in AD_PREFERENCE.
As this is a sourcedata mandatory column, it needs an oncreatedefault.

---
M src-db/database/model/tables/AD_PREFERENCE.xml
---
(0028404)
hudsonbot (developer)
2010-06-15 05:43

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e92cbd6025be [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f7644da65496 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17606.obx [^]
(0028453)
shuehner (administrator)
2010-06-15 16:31

Tested using 'org.openbravo.advpaymentmngt' module which does insert new rows into ad_preference and was failing before as the selected column in ad_preference was missing the onCreateDefault definition.

Now the module installs without an error related to the column.

- Issue History
Date Modified Username Field Change
2010-06-14 11:43 shuehner New Issue
2010-06-14 11:43 shuehner Assigned To => marvintm
2010-06-14 11:46 shuehner Relationship added related to 0013640
2010-06-14 11:54 shuehner Description Updated View Revisions
2010-06-14 12:26 hgbot Checkin
2010-06-14 12:26 hgbot Note Added: 0028358
2010-06-14 12:26 hgbot Status new => resolved
2010-06-14 12:26 hgbot Resolution open => fixed
2010-06-14 12:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e92cbd6025bea89de5c12cb8b9bdaca550d60805 [^]
2010-06-15 05:43 hudsonbot Checkin
2010-06-15 05:43 hudsonbot Note Added: 0028404
2010-06-15 16:31 shuehner Note Added: 0028453
2010-06-15 16:31 shuehner Status resolved => closed
2010-06-16 00:00 anonymous sf_bug_id 0 => 3016776
2010-06-16 19:01 psarobe Tag Attached: Regression
2010-06-16 19:01 psarobe version pi => 2.50MP18


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker