I was experimenting with some content type creation today when I noticed a type that I'd deleted shows up in the "create content" sub-menu even after the type was deleted. Same goes for the (somewhat ugly) "content_new_type_name_here" index page from indexpage.module.
indexpage.module handles the error reasonably gracefully:
ERROR: That node type does not exist, there are no entries, or the index page for this node type is disabled.
The create content menu shows the link to the deleted type, while the create content page does not. Clicking the menu link leads to the create content page with the title changed to the deleted content type.
Comments
Comment #1
dtabach commentedI had this problem for some time with usernodes, which showed links in the profile to create a content type that was deleted, but now - after creating and deleting node types several times - it is working...
I'm not sure how it was fixed. Maybe a cache problem?
Comment #2
karens commentedThe menu cache needed to be cleared, so the problem eventually goes away, but a fix was needed to force that and that fix has now been committed.
Comment #3
(not verified) commented