Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0004759 | Openbravo ERP | Y. DBSourceManager | public | 2008-08-29 12:19 | 2009-03-18 11:02 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0004759: OnCreateDefault statements are not correct if the table wasn't recreated by the upgrader |
Description | During the upgrade process, if a column is new and has an onCreateDefault statement, that statement will be constructed and executed.
The problem is that the way it is constructed now depends on the table of the column being recreated by the upgrader. If it is not, the statement will fail.
This problem currently only happens in Oracle, as in PostgreSQL the tables are recreated if a new column has been added. |
Steps To Reproduce | Just add a new column to the end of a table in an table XML file, assign an onCreateDefault statement to it, and execute an update.database process, in an Oracle database. |
Proposed Solution | The onCreateDefault statement has to be constructed differently for tables that have been not recreated. |
Additional Information | |
Tags | dbsm_migrate |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2008-08-29 12:19 | marvintm | New Issue | |
2008-08-29 12:19 | marvintm | Assigned To | => marvintm |
2008-08-29 12:21 | svnbot | Checkin | |
2008-08-29 12:21 | svnbot | Note Added: 0008782 | |
2008-08-29 12:21 | svnbot | Status | new => resolved |
2008-08-29 12:21 | svnbot | Resolution | open => fixed |
2008-08-29 12:21 | svnbot | svn_revision | => 115 |
2008-08-29 12:23 | svnbot | Checkin | |
2008-08-29 12:23 | svnbot | Note Added: 0008783 | |
2008-08-29 12:23 | svnbot | svn_revision | 115 => 116 |
2008-12-15 19:00 | psarobe | Status | resolved => closed |
2008-12-18 12:38 | jpabloae | Sticky Issue | No => Yes |
2008-12-18 12:39 | jpabloae | Sticky Issue | Yes => No |
2008-12-18 12:39 | jpabloae | Tag Attached: dbsm_migrate | |
2008-12-18 12:41 | jpabloae | Project | @4@ => Openbravo ERP |
2008-12-18 12:41 | jpabloae | Category | => Y. DBSourceManager |
2009-03-18 11:02 | anonymous | sf_bug_id | 0 => 2691348 |