Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0021634 | Openbravo ERP | A. Platform | public | 2012-09-12 20:18 | 2012-09-26 17:19 |
|
Reporter | shuehner | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | 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 | 0021634: obuiapp_note.ad_table_id is missing onDeleteCascade |
Description | After adding a note entry to any record of some specific ad_table. It it not possible anymore to delete that table.
Example case.
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.
Imo they should same as the system does of course delete all the content of the table itself.
|
Steps To Reproduce | See description.
|
Proposed Solution | Add onDelete="cascade" to the obuiapp_note.ad_table_id foreign-key |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0021672 | 3.0MP16 | closed | AugustoMauch | API change: Added delete on cascade constraint |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-09-12 20:18 | shuehner | New Issue | |
2012-09-12 20:18 | shuehner | Assigned To | => AugustoMauch |
2012-09-12 20:18 | shuehner | Modules | => Core |
2012-09-12 20:18 | shuehner | OBNetwork customer | => No |
2012-09-14 12:31 | hgbot | Checkin | |
2012-09-14 12:31 | hgbot | Note Added: 0052130 | |
2012-09-14 12:31 | hgbot | Status | new => resolved |
2012-09-14 12:31 | hgbot | Resolution | open => fixed |
2012-09-14 12:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/38acdd74058a16e99608f6e302e7b3fb140d2705 [^] |
2012-09-17 14:20 | AugustoMauch | Relationship added | related to 0021672 |
2012-09-24 16:52 | AugustoMauch | Closed by | => AugustoMauch |
2012-09-24 16:52 | AugustoMauch | Note Added: 0052350 | |
2012-09-24 16:52 | AugustoMauch | Status | resolved => closed |
2012-09-24 16:52 | AugustoMauch | Fixed in Version | => 3.0MP16 |
2012-09-26 17:19 | hudsonbot | Checkin | |
2012-09-26 17:19 | hudsonbot | Note Added: 0052760 | |