Please have a look in CCK simpletests. They call content_clear_type_cache after creating a bunch of content types in acquireContentTypes method.
This is quite important as if you don't clear the cache you get into all kinds of weird problems that are difficult to debug (ie. why is my node_load not returning the CCK fields that I just created).

CommentFileSizeAuthor
#1 feeds_clear_ctype_cache.patch444 bytesandreiashu

Comments

andreiashu’s picture

Status: Active » Needs review
StatusFileSize
new444 bytes
dave reid’s picture

Status: Needs review » Fixed

CCK doesn't use that in its tests anymore. Due to changes in the Feeds tests to use drupalCreateContentType, this function is automatically called via content_node_type() -> content_type_create().

andreiashu’s picture

Hi Dave,

Thanks!

Cheers,
Andrei

andreiashu’s picture

Version: 6.x-1.0-beta9 » 6.x-1.0-beta10

Is this fixed in beta10 right? Or in dev?

dave reid’s picture

In 6.x-1.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.