- Issue created by @Yuri
- First commit to issue fork.
- @davisben opened merge request.
- Status changed to Needs review
over 1 year ago 8:01pm 5 April 2023 - πΊπΈUnited States davisben NH
I'm running into the same error. It is happening with the Group module enabled, because Group uses hyphens in bundles.
- π«π·France troesler
Hi
I have a similar error, without the Group module installed.
Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "bundle" for route "content_entity_clone.bundle.field_settings" must match "[a-z0-9_]+" ("menu-utilisateur" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 203 of core\lib\Drupal\Core\Routing\UrlGenerator.php).
- Status changed to RTBC
over 1 year ago 11:07am 31 May 2023 - π¦π²Armenia murz Yerevan, Armenia
I have this problem on clean Drupal 9.x installation after installing the "menu_item_extras" module and creating a menu with spaces in the name, something like "Test menu" (will be created "test-menu" bundle). And the hyphen in the menu machine name comes from Drupal Core, not from the contrib!
After this I got the fatal error on the content_entity_clone settings page.And the fix from MR resolves the problem!
Attaching a static patch file with those changes, to make it possible to use in composer until π GitLab Merge Requests Unable to Generate Incremental Patch Files Active is resolved.
- First commit to issue fork.
-
orakili β
committed 621ef4d6 on 1.0.x authored by
davisben β
Issue #3350163 by davisben, Murz, Yuri: Error when visiting module...
-
orakili β
committed 621ef4d6 on 1.0.x authored by
davisben β
- Status changed to Fixed
over 1 year ago 11:31am 31 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
9 months ago 5:27pm 21 February 2024 - πΊπΈUnited States sassafrass
I'm still experiencing this issue. Using Drupal 10.2
The website encountered an unexpected error. Try again later.
Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "bundle" for route "content_entity_clone.bundle.field_settings" must match "[a-z0-9_-]+" ("~1" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 209 of core/lib/Drupal/Core/Routing/UrlGenerator.php).