Closed (won't fix)
Project:
Matrix field
Version:
5.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2009 at 01:01 UTC
Updated:
4 Sep 2012 at 07:55 UTC
I just noticed that Revision 1.2.2.8 of the drupal 5 matrix.module file is missing node and revision deletion functionality. You need to add the following cases to the switch statement in the "matrix_field()" function:
...
case 'delete':
db_query('DELETE FROM {node_field_matrix_data} WHERE nid = %d', $node->nid);
break;
case 'delete revision':
db_query('DELETE FROM {node_field_matrix_data} WHERE vid = %d', $node->vid);
break;
...
Marc
Comments
Comment #1
intrafusion