Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0019071 | Openbravo ERP | Y. DBSourceManager | public | 2011-11-15 12:22 | 2012-09-24 21:01 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | scheduled | Resolution | open | |
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 | 0019071: Special case in Oracle update.database should be changed |
Description | Currently, when a change in a table is detected by update.database in Oracle, the following is done:
- If the change is a column addition, the column is not mandatory, it goes to the end of the table, and there are no more changes for that table, an "ALTER TABLE ADD column" change is done.
- Otherwise, the table is recreated.
The first case has the following problem: if the table has triggers associated, the new column has a default, the triggers are executed, and they fail for some reason, the column is not added. |
Steps To Reproduce | Add a new non-mandatory column with a default value to the end of a table in the XML files. Verify that when update.database is done, the triggers related to that table are executed. |
Proposed Solution | This special case in Oracle will be removed, and the table will be recreated always. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-11-15 12:22 | marvintm | New Issue | |
2011-11-15 12:22 | marvintm | Assigned To | => marvintm |
2011-11-15 12:22 | marvintm | Modules | => Core |
2012-01-30 16:11 | marvintm | Note Added: 0044704 | |
2012-01-30 16:11 | marvintm | Type | defect => design defect |
2012-09-24 21:01 | AugustoMauch | Note Added: 0052414 | |
2012-09-24 21:01 | AugustoMauch | Status | new => scheduled |