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

intrafusion’s picture

Status: Active » Closed (won't fix)