Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012603 | Openbravo ERP | Z. Others | public | 2010-03-09 11:21 | 2010-03-13 00:00 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 2.50MP14 | Fixed in Version | 2.50MP14 | |
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 | 0012603: When update.database tries to add a column to a table, if the column is mandatory and doesn't have a default, data can be lost |
Description | When update.database tries to add a mandatory column to an existing table, and the column doesn't have an oncreatedefault or default defined for it, the table will be created correctly, but the original data will be lost. |
Steps To Reproduce | - Add a mandatory column to the XML file of a table. Do not define a default value, or oncreate default.
- Do update.database
- The new table will have the column, but it will be empty. |
Proposed Solution | DBSM will be changed so that the data is not lost, although the constraint will not be activated in this case (so, still an error, but at least the data is not lost). |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-03-09 11:21 | marvintm | New Issue | |
2010-03-09 11:21 | marvintm | Assigned To | => marvintm |
2010-03-09 11:21 | marvintm | OBNetwork customer | => No |
2010-03-11 10:02 | marvintm | Target Version | => 2.50MP14 |
2010-03-11 11:12 | hgbot | Checkin | |
2010-03-11 11:12 | hgbot | Note Added: 0025237 | |
2010-03-11 11:12 | hgbot | Status | new => resolved |
2010-03-11 11:12 | hgbot | Resolution | open => fixed |
2010-03-11 11:12 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/b7add0e35b053daa500c9374e5096b7ea2db943f [^] |
2010-03-12 16:03 | alostale | Status | resolved => closed |
2010-03-12 16:03 | alostale | Fixed in Version | => 2.50MP14 |
2010-03-12 22:41 | hudsonbot | Checkin | |
2010-03-12 22:41 | hudsonbot | Note Added: 0025427 | |
2010-03-13 00:00 | anonymous | sf_bug_id | 0 => 2969677 |