Closed (fixed)
Project:
Name Field
Version:
8.x-1.0-rc5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2023 at 14:42 UTC
Updated:
22 Dec 2023 at 15:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jasloe commentedReporting same issue here. On a brand new site with only devel and name contribs installed, when opening 'name list formats' at /admin/config/regional/name/list, page returns "The website encountered an unexpected error. Please try again later." and the following log:
Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("name_format") to generate a URL for route "entity.name_list_format.devel_load". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 187 of /app/web/core/lib/Drupal/Core/Routing/UrlGenerator.php).Comment #3
jaydub commented/admin/config/regional/name/list is the admin path in question, not /admin/config/regional/flexdate/list in the ticket description above.
Comment #4
danherrero commentedI ran into this issue as well. I found that the issue stems from a difference in the name_list_format links defined in the Name List Format configuration entity class and the name.routing.yml.
The attached patch resolves this.
Comment #5
danherrero commentedComment #6
nivethasubramaniyan commentedI was able to reproduce this issue after installing devel module with field name module in drupal 10.1.
After applying the above patch, the issue was resolved. I have attached the screenshot for reference.
Comment #7
keshavv commented+1 for RTBC
Comment #8
promesThanks. This patch works for me as well.
Comment #10
heddnThanks for your contributions.