When a type has an underscore, its nodes can't be set as children on creation
peterzoe - April 27, 2008 - 12:16
| Project: | Node Relativity |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
hi there,
i have I problem with node relativity trying to call child nodes when the custom content type (type) of the child note contains an underscore. node relativity creates an url like .../node/add/content_type/parent/xx for a content type having the type 'content_type'. drupal call up url would be .../node/add/content-type/parent/xx though. please refer to this related issue: http://drupal.org/node/206670.
thanks for any help.
kind regards, Peter.

#1
This should do the trick. Allows you to add a node as a child when its type contains an underscore. It works in a similar fashion to patches in the link you posted.
#2
I have been testing this patch in production for months now and I just received CVS access today.
I have comitted this to the latest 6.x.1.x-dev version.
Thanks!
DaveA