- 🇬🇧United Kingdom scott_euser
This doesn't have all comments from #5 resolved so moving this back to need work. E.g. No test coverage
My project doesn't have enabled field_ui module out of dev site and this can cause error on some admin pages.
"Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'edit-form' found for the 'entity_form_mode' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 196 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityBase.php)."
I checked the codebase and the error occurs when something try to retrieves the permission and it calls FormModeManagerPermissions::buildFormModePermissions() function which call url function on form_mode entity. The default param of the url() function 'edit-form', but the path of 'edit-form' is defined in field_ui module.
Needs work
2.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This doesn't have all comments from #5 resolved so moving this back to need work. E.g. No test coverage