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.

CommentFileSizeAuthor
table_bug.gif29.19 KBdodorama

Comments

dodorama’s picture

A 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

yched’s picture

Status: Active » Fixed

This should be corrected in latest 5.0-dev.
Please reopen if not.

Anonymous’s picture

Status: Fixed » Closed (fixed)