Link error under Content types fieldset. Replace _ with -

zorroposada - July 14, 2009 - 00:05
Project:XML sitemap
Version:6.x-2.x-dev
Component:xmlsitemap_node.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Line 97 xmlsitemap_node.module

Page:
/admin/settings/xmlsitemap

In the module's settings page under Content types fieldset, some of the links to the content types are wrong. This only happens when the content type's name has a space in it. i.e.:

Sample Links for content types:

Landing Page (/admin/content/node-type/landing_page?destination=admin%2Fsettings%2Fxmlsitemap) // wrong link, it should be landing-page instead of landing_page
Page (/admin/content/node-type/page?destination=admin%2Fsettings%2Fxmlsitemap) // correct link

#1

Dave Reid - July 14, 2009 - 00:34
Status:active» fixed

Thanks for the report. I didn't think to test complex node types. I committed a fix to CVS and the development build will be regenerated in 12 hours or less.
http://drupal.org/cvs?commit=237046

#2

System Message - July 28, 2009 - 00:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.