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).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | feeds_clear_ctype_cache.patch | 444 bytes | andreiashu |
Comments
Comment #1
andreiashu commentedComment #2
dave reidCCK 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().
Comment #3
andreiashu commentedHi Dave,
Thanks!
Cheers,
Andrei
Comment #4
andreiashu commentedIs this fixed in beta10 right? Or in dev?
Comment #5
dave reidIn 6.x-1.x-dev.