Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jun 2014 at 20:32 UTC
Updated:
11 Jul 2019 at 12:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
andypostComment #3
andypostFix broken tests
Comment #4
damiankloip commentedThis param should probably be called $route_name, I think it is called this almost everywhere else.
Comment #5
andypostYes
$route_nameis more consistentComment #6
dawehnertbh I would expect route_name, route_object and parameters as last argument.
Comment #7
dawehnerNote: Earlier versions of #2302563: Access check Url objects actually expanded our route objects to contain the route names itself, which I think would be a sane idea. Did we considered to do that, instead of the "workaround" currently
proposed by this issue?
Comment #8
andypost@dawehner Not sure how fixed issue #7 related here but originally the issue is follow-up from #2010132: Canonical taxonomy term link for forum vocabulary is broken
That means that outbound route needs to know the name to effectively compare.
But that name does not exists now or could be optional in case route object is created manually... so no idea how to implement it right.
Comment #9
dawehnerPlease reread my answer. "Earlier version of ... actually expanded our route objects to contain the route names itself".
Comment #10
andypostAlready fixed by #2346283: Add route name parameter to OutboundRouteProcessorInterface
Comment #11
damiankloip commented@andypost, sorry - I totally forgot we had this issue!!
Comment #12
gisleRemoving spurious tags - https://www.drupal.org/node/1207020