Download & Extend

When a type has an underscore, its nodes can't be set as children on creation

Project:Node Relativity
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Title:underscores and hyphens» When a type has an underscore, its nodes can't be set as children on creation
Priority:normal» critical
Status:active» needs review

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.

AttachmentSize
relativity-251802-1.patch 917 bytes

#2

Status:needs review» closed (fixed)

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

nobody click here