Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.x-dev
Component:
General
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2008 at 23:02 UTC
Updated:
21 Aug 2008 at 23:14 UTC
As dopry noted in his patch in http://drupal.org/node/107407#comment-934698, deleting rows in the per-type table could ba handled inide content_storage() rather than by additional code in content_delete() / content_delete_revision().
Attached patch takes care of this by always including the per type table in the [$field_name]['tables'] part of _content_type_info(), even if it holds no field.
This also lets us always add at least nid/vid in those tables.
| Comment | File | Size | Author |
|---|---|---|---|
| cck_per_type_table.patch | 3.8 KB | yched |
Comments
Comment #1
yched commentedCommitted (after checking it doesn't break our tests)
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.