- Issue created by @project update bot
This is an automated patch generated using Upgrade Status and Drupal Rector. Please see the issue summary for more details. A merge request is also openend and updated.
It is important that any automated tests available are run and that you manually test the changes.
Drupal 11 Compatibility
According to the Upgrade Status module → these changes make this module compatible with Drupal 11! 🎉
Therefore these changes update theinfo.yml
file for Drupal 11 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 11 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #11-121090This patch was created using these packages:
- drupal/upgrade_status: 4.1.0
- mglaman/phpstan-drupal: 1.2.7
- palantirnet/drupal-rector: 0.20.1
- 🇧🇪Belgium flyke
The patch did not apply but I cannot figure out why.
The contents of current_page_crumb.info.yml seem to match everything in the patch.
I even used https://gotranscript.com/text-compare to confirm the lines in the info.yml file are a 100% match of the lines in the .diff file.
And yet the patch does not apply. Maybe some file encoding issue ? Maybe somthing specific to my configuration.I downloaded the diff, saved it in my project root as cpc.diff and ran:
git apply -v --directory=web/modules/contrib/current_page_crumb cpc.diff
This results in:
Checking patch web/modules/contrib/current_page_crumb/current_page_crumb.info.yml... error: while searching for: name: Current Page Crumb type: module description: Add the current page title to the breadcrumb. core_version_requirement: ^9.1 || ^10 error: patch failed: web/modules/contrib/current_page_crumb/current_page_crumb.info.yml:1 error: web/modules/contrib/current_page_crumb/current_page_crumb.info.yml: patch does not apply
This issue says its for version 1.5 and I have that in my composer:
"drupal/current_page_crumb": "^1.5",
Really no idea why I cannot apply this patch. I did not manually alter current_page_crumb nor do I have any other patch applied to it.
- 🇧🇪Belgium flyke
Ok works if I use the dev version.
Updated this issue for that. - 🇺🇸United States Greg Boggs Portland Oregon
greg boggs → made their first commit to this issue’s fork.
-
greg boggs →
committed 5e39000d on 8.x-1.x authored by
Project Update Bot →
Issue #3429697: Automated Drupal 11 compatibility fixes for...
-
greg boggs →
committed 5e39000d on 8.x-1.x authored by
Project Update Bot →
- 🇺🇸United States safetypin Memphis, Tennessee
So, to test this, we should switch to 1.x-dev version, and apply the rector patch? Can I apply the patch via the composer.json file?
- 🇺🇸United States Greg Boggs Portland Oregon
There is no patch to apply. This has been committed. Just waiting for someone to test the dev release and report that it works in Drupal 11 and we can tag a release.