Hi,
Item 20 of "Converting 5.x modules to 6.x" (node/add is now menu generated) states that the "node/add/$type" menu items are now auto-generated by the menu system and should not be declared in hook_menu(). When they are, it causes that add node page to not work, see issue #178138 for more info on this. Could you add a check to the coder module so it automatically detects the exists of such items in hook_menu() and gives a critical warning? It might save others the problems I experienced.
Cheers,
Stella
Comments
Comment #1
douggreen commentedI'm swamped right now. Could you please try to write the rule yourself, and submit a patch? See http://drupal.org/node/144172 for documentation. Thanks.
Comment #2
stella commentedHi,
I can attach a proper patch if you want, but I was unsure if you applied a certain logic/order to the layout of your rules.
The new rule would be:
While the new callback warning function could be something like:
Cheers,
Stella
Comment #3
douggreen commentedThanks!
Comment #4
(not verified) commented