Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0006817 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 09. Financial management | critical | have not tried | 2008-12-11 16:31 | 2009-03-03 17:16 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | eduardo_Argal | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 11806 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.40MP1 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0006817: Upgrade from 2.40MP1 (or equivalent svn-rev) to current 2.40 maintenance branch fails | |||||||
Description | Commit 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 Reproduce | create a 2.40 database with svn revivision prior to r10409 svn update to a revision higher than r10409 run ant update.database | |||||||
Proposed Solution | Assign a onCreateDefault tag which calculcates the fields-value with ad_get_next_sequence | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(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 [^] |
![]() |
|||
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 |