Jump to:
| Project: | XML sitemap |
| Version: | 6.x-1.1 |
| Component: | xmlsitemap_taxonomy.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I used Devel to generate content. After I deleted the nodes they really have been deleted. But with taxonomy following appeared: I use XML-Sitmemap module (http://drupal.org/project/xmlsitemap) and there are the generated AND DELETED taxonomy terms listed. I had a look at database term_data and found out that the deleted terms are not in anymore. There are also no relations defined in term_node.
I feel that there was a bug with taxonomy generating as some of the terms were never related to nodes or were never shown in admin/content/taxonomy and did not belong to any vocabulary - so I deleted them directly with phpAdmin in database term_data. Might this cause this trouble? Is there any further database table in which the terms might be defined???
Greez,
Tobias
Comments
#1
As this still appears I want to push this issue
#2
How did you 'delete' the nodes? If you delete things manually (like you said you did with term_data) that's a recipe for disaster because other modules rely on the proper Drupal APIs being executed to react to whenever data is added, changed or deleted.
#3
As I can remember so far I deleted it first by deleting all the generated taxonomies by the taxonomy administration using the standard way to delete. But after that I found out that these taxonomies were not listed there anymore but found in the sitemap I searched for the reason and found out that the taxonomies were still excisting in the mentioned table.
So do you have any idea where these taxonomies and forums can still be saved?
#4
Moving to xmlsitemap's issue queue. Please confirm which version of the module you are using.
#5
Hi,
I am using 6.X-1.1
#6
The xmlsitemap_taxonomy module includes the proper code to respond to a taxonomy term deletion and remove it from the sitemap. Did you double check that your sitemap's cached files were re-created and not using stale data? (you can do this manually by going to admin/settings/xmlsitemap/tools). Please update us on this situation when you can.
#7
Hi,
I deleted the cached files several times and the deleted taxonomy and forums still appear in the sitemap. They are listed just as "raw" URLs like http://www.mysite.de/taxonomy/term/100 or http://www.mysite.de/forum/100 not with their former URL aliases. Is this maybe a hint?????
Greez,
Tobias
#8
I still think this is related to how these terms were deleted. Something didn't invoke the delete API to allow other modules to react.
Your best bet is to go through the xmlsitemap_taxonomy table and find your old terms and delete them there. You could also just uninstall/re-install the xmlsitemap_taxonomy sub-module to get a fresh start.
#9
Ok... I think I found the sollution: The terms and forums were still listed in table xmlsitemap, not in xmlsitemap_taxonomy. Deleting them from xmlsitemap was the sollution. But shouldn't them be deleted from this table when xmlsitemap_taxonomy module is uninstalled as I did it several times?
Anyway - thank you very much for your support!!!!!!
#10
I just installed 6.x-1.x locally and tested devel generate with taxonomy and then deleted random terms and vocabularies. They all were deleted properly from both tables. At this point, I'm going to mark this issue as fixed. If you can duplicate the problem and provide more details, please re-open this issue.
#11
Automatically closed -- issue fixed for 2 weeks with no activity.