Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0021672 | Openbravo ERP | A. Platform | public | 2012-09-17 14:17 | 2012-09-17 17:17 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | immediate | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP16 | Fixed in Version | 3.0MP16 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
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 | 0021672: API change: Added delete on cascade constraint |
Description | In the fix of issue https://issues.openbravo.com/view.php?id=21634, [^] an delete on constraint constraint was added to the obuiapp_note.ad_table_id column, this breaks the API.
This constraint was needed because it is not possible to uninstall a module when a note has been posted on a table related to it.
The only change the users may notice is that now if a table containing notes is deleted, the table will be actually deleted along with its notes. |
Steps To Reproduce | Install module having any new table. Add a note to a record in that table.
Uninstall the module having the table.
Rebuild. -> fails
As fk from obuiapp_note.ad_table_id does not have onDelete cascade notes related to the deleted table do not get deleted as well. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0021634 | | closed | AugustoMauch | obuiapp_note.ad_table_id is missing onDeleteCascade |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-09-17 14:17 | AugustoMauch | New Issue | |
2012-09-17 14:17 | AugustoMauch | Assigned To | => AugustoMauch |
2012-09-17 14:17 | AugustoMauch | Modules | => Core |
2012-09-17 14:17 | AugustoMauch | OBNetwork customer | => No |
2012-09-17 14:20 | AugustoMauch | Relationship added | related to 0021634 |
2012-09-17 14:20 | AugustoMauch | Assigned To | AugustoMauch => iciordia |
2012-09-17 16:44 | iciordia | Note Added: 0052172 | |
2012-09-17 16:44 | iciordia | Assigned To | iciordia => AugustoMauch |
2012-09-17 17:14 | hgbot | Checkin | |
2012-09-17 17:14 | hgbot | Note Added: 0052173 | |
2012-09-17 17:14 | hgbot | Status | new => resolved |
2012-09-17 17:14 | hgbot | Resolution | open => fixed |
2012-09-17 17:14 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/425718995c3090713e68c8fd6e6371559bf2f11b [^] |
2012-09-17 17:17 | AugustoMauch | Closed by | => AugustoMauch |
2012-09-17 17:17 | AugustoMauch | Status | resolved => closed |
2012-09-17 17:17 | AugustoMauch | Fixed in Version | => 3.0MP16 |