Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
As part of making this module ready for Drupal 9, we should add a missing core_version_requirement key to the module-info file also in missing composer.json file.
Comment | File | Size | Author |
---|---|---|---|
#14 | interdiff_12-14.txt | 386 bytes | Suresh Prabhu Parkala |
#14 | 3119603-14.patch | 2.82 KB | Suresh Prabhu Parkala |
#12 | fixD9ReadlinesCompletely-3119603-11.patch | 2.34 KB | edycarreyes99 |
| |||
#12 | interdiff-3119603-2-11.txt | 2.34 KB | edycarreyes99 |
#2 | 3119603.patch | 592 bytes | samiksha.gupta008 |
Comments
Comment #2
samiksha.gupta008 CreditAttribution: samiksha.gupta008 at Srijan | A Material+ Company for Drupal India Association commentedComment #3
Stefdewa CreditAttribution: Stefdewa at Calibrate commentedPatch applies.
Also added related issue.
Comment #4
mpp CreditAttribution: mpp at AmeXio for District09 commentedRTBC++
Comment #5
komalk CreditAttribution: komalk at Srijan | A Material+ Company for Drupal India Association commentedComment #6
trebormcRTBC++
Comment #7
BramDriesenRTBC++
Comment #8
BramDriesenCan we get this merged?
Comment #9
heddnShouldn't this include the
\Drupal::l()
=>Link::fromTextAndUrl()
conversion mentioned in #3087361: Drupal 9 Deprecated Code report?Comment #10
BramDriesenYou can, but it's normally better to keep things separated no?
I suggest to first merge #3087361 so that all deprecations are gone, and then this one to make it fully D9 ready.
Comment #11
heddnAs of yesterday, you can make changes to composer.json in a patch to make the project support drupal/core: ^8.0 || ^9.0 and run tests on the testbot. Wouldn't it make sense to make those changes and incorporate any fixes to make it support 9.0 at the same time?
Comment #12
edycarreyes99 CreditAttribution: edycarreyes99 at MTech, LLC commentedFix D9 readlines completely
Comment #13
BramDriesentests failed.
Comment #14
Suresh Prabhu Parkala CreditAttribution: Suresh Prabhu Parkala at Specbee commentedPlease review!
Comment #15
heddnTests are passing. LGTM.
Comment #16
Rar9 CreditAttribution: Rar9 commentedgetting error
composer require 'drupal/yoast_seo:1.x-dev'
Problem 1
- Conclusion: remove doctrine/annotations 1.10.3
- Conclusion: don't install doctrine/annotations 1.10.3
composer require 'drupal/yoast_seo:2.x-dev'
Problem 1
- Installation request for drupal/yoast_seo 2.x-dev -> satisfiable by drupal/yoast_seo[2.x-dev].
- Conclusion: remove drupal/core 9.0.2
- Conclusion: don't install drupal/core 9.0.2
Comment #17
cosolom CreditAttribution: cosolom commented@Rar9 It's because you need to apply this patch from git (not from the composer). I can confirm that patch is fine.
Comment #18
Rar9 CreditAttribution: Rar9 commentedI just added patch 14 to composer.json
and the run composer require...
Why do i need to look for a patch somewhere at git?
Comment #19
Rajab Natshah CreditAttribution: Rajab Natshah at Vardot for Vardot commentedPlease if you can spare time to commit this issue to the dev branch that will be nice.
A release after that will have a support for Drupal 9 build.
as this issue is a blocker issue for
#3122672: Start a 9.0.x branch for Varbase and Varbase Project to integrate with Drupal 9
Real physical testing with Drupal 9 is important as Drupal 9.0.5 went out
Thanks for having time to work on this nice and very useful module.
Comment #20
akalam CreditAttribution: akalam at Metadrop commentedI created a fork applying #14 in case someone need to use this project with D9 https://github.com/Metadrop/yoast_seo
Comment #21
phjouIt would be nice to merge that issue, it is pretty annoying to have to make a fork just to use the module.
Comment #22
Gomez_in_the_South CreditAttribution: Gomez_in_the_South commented+1 for getting this merged as it's RTBC.
Anything else that the maintainers are blocked by?
Comment #23
phjouI guess the maintainers are not active anymore.
So I guess we have to wait for #3173941: Offering to co-maintain Real-time SEO for Drupal
Maybe people can ping on this issue to speedup the process #3169265: Offering to co-maintain Real-time SEO for Drupal
Comment #25
KingdutchThanks for everyone's help on this issue, 2.0-alpha4 has been released.
This patch applied to 2.x (contrary to the issue's selected version) so work is still needed for 1.x. #3149492: Automated Drupal 9 compatibility fixes contains a start for 1.x
Comment #26
phjouThank you so much!