The bug appears when node type has "_" characters in its name (like "my_nodetype"). Drupal somehow changes it to "-" in URL (to "my-nodetype"), nodehierarchy doesn't, that is why links "create new child" don't work.

Below I present solution to this problem:

file: nodehierarchy_theme.inc
diff original_file modyfied_file:
85a86
> $key = str_replace("_","-",$key);

Comments

ronan’s picture

Status: Patch (to be ported) » Fixed

Fixed in dev (both 5 and 6). Thanks for finding this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.