Database update of views module failed because of broken_link

Created on 25 April 2022, about 2 years ago
Updated 20 January 2023, over 1 year ago

Problem/Motivation

I have updated a site from Drupal core 9.3.3 to 9.3.12 (maybe a leap too big) via composer and ran /update.php

1 update failed even after repeating update.php:

views module

Add the identifier option to all sort handler configurations.

The database update failed with the following error message:

sort_identifier aktualisieren (update)

Fehlgeschlagen (failed): Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "user.private_tempstore". in Symfony\Component\DependencyInjection\ContainerBuilder->getDefinition() (Zeile 1030 in /www/htdocs/[…]/vendor/symfony/dependency-injection/ContainerBuilder.php).

grep search returned results in contrib module broken_link.

contrib/broken_link/src/Form/BrokenLinkDeleteMultipleForm.php:
$container->get('user.private_tempstore'),
contrib/broken_link/src/Plugin/Action/DeleteBrokenLink.php:
$container->get('user.private_tempstore'),

After uninstalling broken_link update works fine.

Proposed resolution

This ist the followup issue of https://www.drupal.org/project/drupal/issues/3276607 β†’

Remaining tasks

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: duplicate

Version

3.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany marco.b

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.

  • Status changed to Closed: duplicate over 1 year ago
Production build 0.69.0 2024