Symfony error when navigating to Audiences tab

Created on 1 April 2021, about 3 years ago
Updated 8 November 2023, 8 months ago

Problem/Motivation

Just upgraded to 2.0.2 and when I navigate to admin/config/services/mailchimp/lists I get the following Symphony error:

Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "hash" for route "mailchimp.webhook_endpoint" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 204 of core/lib/Drupal/Core/Routing/UrlGenerator.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

General

Created by

πŸ‡¬πŸ‡§United Kingdom danbohea

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.

  • πŸ‡ΊπŸ‡¦Ukraine Taran2L Lviv

    @gcb, the issue is due to lack of upgrade path. The hash config setting is not created by default when upgrading the module, thus the error that it is missing. Upon resaving settings, it's back to normal.

    But still it worth to
    - add an update hook that will create a setting, if it's not there
    - make a hash field required, as webhooks won't work without it, and audiences is broken as well

  • πŸ‡§πŸ‡ͺBelgium borisson_ Mechelen, πŸ‡§πŸ‡ͺ
Production build 0.69.0 2024