Closed (fixed)
Project:
XML sitemap
Version:
7.x-2.x-dev
Component:
Other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2018 at 11:36 UTC
Updated:
26 Oct 2019 at 11:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jigish.addweb commented@freelylw, Here's the patch to resolve the error that occurs on module uninstall. Hope this helps you!. Thanks
Comment #3
riddhi.addweb commented@jigish.addweb, Thanks for providing a patch, I checked it using simplytest.me & got the same error without a patch, using your patch I found that issue is resolved. PFA
Thanks for all your work!...
Comment #4
volegerLooks good! Thanks
Comment #5
alex_optim+1
Comment #6
pifagorComment #8
pifagorComment #9
jacob.embree commentedThe only reason
xmlsitemap_clear_directory()might not exist is if xmlsitemap.module hasn't been loaded. The very next line loads xmlsitemap.module, so why not load xmlsitemap.module first, then runxmlsitemap_clear_directory(), then remove variables?Comment #11
ciss commentedI have to agree with @jacob.embree, the committed changes only patch the symptoms, not the cause. The patch in #9 would be in line with the original intent.
@jacob.embree If this issue doesn't get reopened, do you feel like creating a follow-up?
Comment #12
jacob.embree commentedSure, ciss. Here it is: #3086542: Clean up uninstall routine.
Comment #13
pifagorComment #14
pifagorThis will close another task - https://www.drupal.org/project/xmlsitemap/issues/3086542