Closed (fixed)
Project:
XML sitemap
Version:
6.x-1.x-dev
Component:
xmlsitemap_node.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2009 at 13:37 UTC
Updated:
21 May 2009 at 20:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
epimeth commentedwhat should be the correct function name?
Comment #2
epimeth commentedI changed it to xmlsitemap_node_get_priority... now I don't crash, but I also don't have any nodes in my sitemap... I enabled the module, cleared the sitemap cache, cleared the site cache, and went to sitemap.xml.... all I have there is the homepage!
Comment #3
epimeth commentedand I tried the same exact thing again and it *did* work... great :-)
Comment #4
dave reidThere is also an error in the xmlsitemap_node_get_priority() function. It has a parameter $load, but in the code of the function, it is never used. Instead there is a variable $reload (which I assume should be $load) that will be undefined. Patch attached for review.
Comment #5
avpadernoIt seems I have some problems with the editor; for both the files where the error is present, the editor gave me a warning about the files not being correctly saved.
Anyway, I re-changed the files, and committed the change in CVS.