Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
5.x-1.x-dev
Component:
General
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2007 at 22:02 UTC
Updated:
19 Jan 2007 at 00:30 UTC
If I create a content type and I add pre-existing fields to it without adding any new one the releated node_mycontentype table isn't created. This cause some warning when deleting posts and when uploading images (with the image field).
Everything works but this warning aren't so pretty.
See screenshot.
I think this happens cause on deletion CCK (and Imagecache+imagefield) assume a node_mycontentype table exists (but this is not true if I'm reusing pre-existing fileds).
I'm using:
Fresh drupal rc1 installation
CCK 5dev (21 Dec)
I didn't test the last release since I read there's people having trouble upgrading the database, so I can't confirm this bug still exists.
| Comment | File | Size | Author |
|---|---|---|---|
| table_bug.gif | 29.19 KB | dodorama |
Comments
Comment #1
dodorama commentedA workaround is to add a brand new field to the content types and then delete it.
This way the node_mycontent table is created and warnings disappear
Comment #2
yched commentedThis should be corrected in latest 5.0-dev.
Please reopen if not.
Comment #3
(not verified) commented