Since Drupal 9.5.0: `AssertionError: assert(isset($provider->_serviceId))`

Created on 20 December 2022, almost 2 years ago
Updated 27 October 2023, 12 months ago

Problem/Motivation

See https://www.drupal.org/node/3292540 β†’

Steps to reproduce

Install this module on Drupal 9.5.0 or newer. You'll see:

 [error]  AssertionError: assert(isset($provider->_serviceId)) in assert() (line 35 of /<snip>/modules/contrib/decoupled_pages/src/Routing/DatasetRouteEnhancer.php) #0 /<snip>/modules/contrib/decoupled_pages/src/Routing/DatasetRouteEnhancer.php(35): assert(false, 'assert(isset($p...')

Proposed resolution

We have only one choice: stop relying on _serviceId.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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

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