Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
routing system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 Apr 2014 at 19:10 UTC
Updated:
29 Jul 2014 at 23:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerThe problem is basically the same as #2250243-1: Remove needless ContainerAware dependency from AuthenticationManager ... we don't need to lazyload the service but should just need to pass along the service ID
Comment #2
dawehnerA first basic try.
Comment #3
dawehner.
Comment #5
dawehner.
Comment #6
sunI'm fine with optionally trying to map an additional "id" parameter to the service ID.
However, can we keep the instance always as the first argument for consistency + documentation purposes, please?
Since you're removing the runtime priority sorting, I guess we want to remove the
$priorityparameter?Comment #7
dawehnerThank you.
I am fine with both. Do you want the code to not figure that out automatically, or just change the existing examples?
Comment #8
sunI think we should hard-code the interface to always be parameter 0, and for the remaining optional parameters 1 and 2, I assume we need some code similar to the current patch...
Since
$priorityis typically optional, it would probably make sense to say that it always comes last?Comment #9
dawehnerMade the suggestion change.
Comment #10
dawehner9: 2250239-9.patch queued for re-testing.
Comment #11
dawehnerAnything is blocking this?
Comment #12
Crell commentedI can't say I'm sorry to see a ContainerAware usage go away...
Comment #14
dawehner9: 2250239-9.patch queued for re-testing.
Comment #16
dawehner3way merge
Comment #17
Crell commentedComment #19
dawehner.
Comment #20
martin107 commented16: param_converter-2250239-16.patch queued for re-testing.
I am not certain this needs a reroll
1) The patch still applies...
2) Looking at an extract from https://qa.drupal.org/pifr/test/794243 it looks like testbot just fell over.
Comment #21
martin107 commentedNow that's green again and given #17 back to RTBC
Comment #22
jacobsanfordRemoving 'Needs reroll' as patch applies cleanly for me. Retesting to be sure.
Comment #23
jacobsanford16: param_converter-2250239-16.patch queued for re-testing.
Comment #24
alexpottCommitted 978b47c and pushed to 8.x. Thanks!