I created new content types with CCK and if their "Type" value consist of more than one word I separated words with underscore (e.g. condenser_lens) In URL this underscore is translated into hyphen (e.g. "condenser-lens")
Description of "Type" field in CCK new content creation form says this:

The machine-readable name of this content type. This text will be used for constructing the URL of the create content page for this content type. This name must contain only lowercase letters, numbers, and underscores. Underscores will be converted into hyphens when constructing the URL of the create content page. This name must be unique.

Seems like that nodehierarchy module doesn't do that conversion from underscore to hyphen, therefore if you go to "Children" section and try to create new node of "Condenser Lens" it doesn't bring up new node creation form since URL still has "condenser_lens" instead of "condenser-lens".

I'm using Drupal 6.2, CCK 6.x-1.0-alpha

Comments

bsdunx’s picture

I made a duplicate of this today, just noticed it now -> http://drupal.org/node/295633 has a patch.

guidot’s picture

Status: Active » Closed (duplicate)

Even though this is one newer I marked it as duplicate of #295633: nodehierarchy incorrectly references machine-readable content type in link. because the other one already has a patch. Don't hesitate to change it if you prefer it the other way around.