The flagging entity defines a 'delete-form' link at /flag/details/delete/{flag}/{entity_id}
. However, calling this route through $flagging->toUrl('delete-form') results in an error:
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.flagging.delete_form" does not exist.
The unflag confirm route is defined in flag.routing.yml as flag.confirm_unflag
. Update the route name so it matches the expected route name by the Entity API.
None.
The flag.confirm_unflag
route name is moved to entity.flagging.delete_form
.
None.
Needs work
4.0
Flag core
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.