Config object name invalid character error when adding menu paths with query string

Created on 13 September 2024, 3 months ago

Problem/Motivation

Drupal\Core\Config\ConfigNameException: Invalid character in Config object name backstop_generator.scenario.default_user-logout?token=fzL0Ox4jS6qafdt6gzGzjWGb_hsR6kJ8L8E0D4hC5Mo. in Drupal\Core\Config\ConfigBase::validateName()

Steps to reproduce

Select a menu to generate scenarios that contains the user logout link.

Proposed resolution

Clean $id in either createBackstopScenario() or where it's called. ConfigBase::validateName says that the characters

: ? * < > " ' / \

are not allowed.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States karlshea Minneapolis πŸ‡ΊπŸ‡Έ

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