Drupal 10 Readiness

Created on 12 January 2023, almost 2 years ago
Updated 19 April 2024, 7 months ago

Problem/Motivation

Need to make ready to work with Drupal 10.

Proposed resolution

I have applied the patches from 3163796 3184800 and 3226405 🐛 User role delete getting error RTBC as well as removed the required field from the composer.json.

i set the required version in the info to core_version_requirement: ^9 || ^10

Other Changes in src/EventSubscriber/FrontPageSubscriber.php as recommended by the Drupal uprade status module.
line 8:
Replaced: use Symfony\Component\HttpKernel\Event\GetResponseEvent;
With: use Symfony\Component\HttpKernel\Event\RequestEvent;

line 22:
Replaced: * @param \Symfony\Component\HttpKernel\Event\GetResponseEvent $event
With: * @param \Symfony\Component\HttpKernel\Event\RequestEvent $event

line 25:
Replaced: public function initData(GetResponseEvent $event) {
With: public function initData(RequestEvent $event) {

Now the Drupal upgrade status module passes and after testing it in Drupal 9 since i haven't upgraded to 10 yet it works fine without errors so far.

Remaining tasks

Further testing

I have included a git unified diff patch but since i am not that experience with git i have included the modified module as well just in case.

📌 Task
Status

Fixed

Version

10.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024