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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006817
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementcriticalhave not tried2008-12-11 16:312009-03-03 17:16
ReportershuehnerView Statuspublic 
Assigned Toeduardo_Argal 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branch2.40Fixed in SCM revision11806
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP1SCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006817: Upgrade from 2.40MP1 (or equivalent svn-rev) to current 2.40 maintenance branch fails

DescriptionCommit r10409 (issue 5944) changed the primary key of the C_ACCTSCHEMA_TABLE to a new field created in the same changeset. The new field-definition is missing the onCreateDefault -tag to specify how the value for existing rows in this table should be calculated. Later switching the PK fails because of the null-values in this column for already existing rows.
Steps To Reproducecreate a 2.40 database with svn revivision prior to r10409
svn update to a revision higher than r10409
run ant update.database
Proposed SolutionAssign a onCreateDefault tag which calculcates the fields-value with ad_get_next_sequence
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0006489 closededuardo_Argal Upgrade from 2.40MP1 (or equivalent svn-rev) to current 2.40 maintenance branch fails 

-  Notes
(0012033)
shuehner (administrator)
2009-01-09 14:46

The (closed) defect 6489 has a diff-file with a possible solution attached.
(0012126)
svnbot (viewer)
2009-01-12 18:48

Repository: openbravo
Revision: 11806
Author: eduardoargal
Date: 2009-01-12 18:48:01 +0100 (Mon, 12 Jan 2009)

Fixes bug 0006817: Upgrade from 2.40MP1 (or equivalent svn-rev) to current 2.40 maintenance branch fails. Also added oncreatedefault for column allownegative

---
U branches/r2.40/src-db/database/model/tables/C_ACCTSCHEMA.xml
U branches/r2.40/src-db/database/model/tables/C_ACCTSCHEMA_GL.xml
---

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

- Issue History
Date Modified Username Field Change
2009-01-09 14:42 rafaroda Type defect => backport
2009-01-09 14:42 rafaroda fix_in_branch => 2.40
2009-01-09 14:46 shuehner Note Added: 0012033
2009-01-12 18:48 svnbot Checkin
2009-01-12 18:48 svnbot Note Added: 0012126
2009-01-12 18:48 svnbot Status scheduled => resolved
2009-01-12 18:48 svnbot Resolution open => fixed
2009-01-12 18:48 svnbot svn_revision => 11806
2009-03-03 17:16 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker