Missing drupal/webfinger after module update to 1.0.10

Created on 3 January 2024, over 1 year ago
Updated 25 January 2024, about 1 year ago

Problem/Motivation

Following a composer update and subsequent raising of Attribution to 1.0.10, AFTER A CACHE CLEAR, my site is knocked out with...

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "attribution.copyright_subscriber" has a dependency on a non-existent service "logger.channel.webfinger".

After the cache clear (UI or drush), any attempt to visit any pages result in the above.

The file...

modules/contrib/attribution/src/EventSubscriber/WebfingerAttributionSubscriber.php

... is present but not happy.

TEMP FIX

Commenting out the declaration of the service in the attribution.services.yml file ...

services:
#  attribution.copyright_subscriber:
#    class: Drupal\attribution\EventSubscriber\WebfingerAttributionSubscriber
#    arguments: ['@current_user', '@entity_type.manager', '@logger.channel.webfinger']
#    tags:
#      - { name: 'event_subscriber' }

Relieves the pain.

Looking a little deeper, I see that the service code has not been installed...

Is this simply a composer.json dependency issue?

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024