Closed (fixed)
Project:
SimpleTest
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2008 at 20:18 UTC
Updated:
11 Feb 2008 at 08:31 UTC
Misses a call to node_types_rebuild() if we want to be able to actually use the content type within the request..
| Comment | File | Size | Author |
|---|---|---|---|
| drupal_test_case.php_.patch | 528 bytes | yched |
Comments
Comment #1
Rok Žlender commentedAre you sure? This is what I used to test drupalCreateContentType
And it created node with newly created node type. Or did you have some other use case in mind?
Comment #2
yched commentedIt will work, if you don't have, say, CCK enabled :-)
Calls to node_get_types('types') won't return your newly created type - meaning, the type is unknown to the outside world.
CCK then raises errors trying to handle saving a node which node type is reported not to exist.
Comment #3
Rok Žlender commentedOK I believe you :), committed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.