Closed (fixed)
Project:
Sitemap
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2024 at 08:07 UTC
Updated:
27 Aug 2024 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
naveenvalechaComment #3
sarwan_verma commentedHi @naveenvalecha,
I have fixed this "Drupal 11 compatibility fixes for sitemap" and also attached patch ,
please review and verify .
Comment #4
naveenvalecha@sarwan_verma
Thank you for your contribution. Please create a Merge request https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr...
Comment #6
sarwan_verma commentedHi@naveenvalecha,
I have created MR. please review it once.
Comment #7
arijit acharya commentedApplied the patch in #3 and the MR in #5, both are applied successfully. But on visiting the config page

/admin/config/search/sitemapgetting the below error.Moving this to NW.
Comment #8
arijit acharya commentedComment #9
chaitanyadessai commentedMR and patch applied successfully no errors found attaching ss.
Comment #10
arijit acharya commented@chaitanyadessai Can you confirm on which drupal version you are testing? It seems, you are testing it against D10 or below. However the issue is for D11.
Also I have added a commit in the MR, which resolved the issue.
Comment #11
arijit acharya commentedComment #12
tirupati_singh commentedI've applied the MR as a patch and the patch applied with no errors. After applying the patch the module is now compatible with Drupal 11 and it's working fine. Getting no error on visiting the module config page
/admin/config/search/sitemap. Attaching the screenshots of the module config and sitemap page for reference.Comment #14
mparker17Updated the issue summary.
Comment #15
mparker17The code in the merge request had several PHPCS and PHPStan errors; and none of the changes accounted for the Book module moving into contrib in Drupal 11, so I had to make extensive changes to the merge request to account for that (via a new sitemap_book sub-module).
I couldn't figure out how to move the book-plugin-specific config into the new sitemap_book sub-module, so I've created #3465577: Split sitemap_book config schema from sitemap schema to follow up on this.
Comment #17
mparker17Going to mark this as fixed; I'll create a new release after resolving some other issues.
Comment #18
mparker17Note that this change was released in sitemap-8.x-2.0-beta7, but resulted in a follow-up issue, #3466530: Error when running sitemap_update_8202, which was released in sitemap-8.x-2.0-beta8.