Problem/Motivation
Once #2344487: Provide special route names for <current> and <none> is in, replace all usages.
Proposed resolution
In order to do that convert the new path processors to route processors.
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #34 | interdiff-2345753-34.txt | 2.6 KB | damiankloip |
| #34 | 2345753-34.patch | 32.15 KB | damiankloip |
Comments
Comment #1
tim.plunkettHope this works!
Comment #2
dawehnerLooks great so far, did a couple of more conversions.
Comment #4
tim.plunkettComment #7
tim.plunkettComment #8
tim.plunkettI finally posted to the wrong issue. I was expecting that to happen all day...
Comment #10
tim.plunkettWell, LinkGenerator's active class handling doesn't work for
<current>:$system_path is the escaped %3Ccurrent%3E
Comment #12
dawehnerOne idea could be that we do call toString() but set $options['alias'] = TRUE, which will skip path aliases
but run everything else. Otherwise we could also compare in JS/PHP manually.
Comment #13
dawehnerTrying to use route processors, nice!
Comment #14
dawehnerLet's see.
Comment #15
dawehnerLet's merge tags
Comment #17
dawehnerLet's see.
Comment #19
yukare commentedThis is not wrong? rage instead of page.
- - { name: service_collector, tag: page_cache_response_policy, call: addPolicy}
+ - { name: service_collector, tag: rage_cache_response_policy, call: addPolicy}
Comment #20
dawehnerLove it!
Comment #22
xjmComment #23
wim leersThis should fix a big chunk of the test failures. Also renamed
$new_routeto$current_route, which I think makes more sense.Comment #25
wim leersChasing HEAD.
Comment #27
wim leersBe greener!
Comment #29
tim.plunkettWorking on this.
Comment #30
tim.plunkettWe're adding a call to processRoute in getPathFromRoute, so the call counts need to be bumped up.
Comment #31
wim leersTim++ :)
Comment #32
dawehner+1 in general!
I wonder whether we should have the same priorities as before. I just have not thought about it actually
Comment #33
tim.plunkettDoesn't apply currently, but borrowing parts of this for #2347465: Convert all instances of #type link/links to convert to use routes
Comment #34
damiankloip commentedNeeded quite a reroll. Modified the parameters for the outbound route processor,use the route name in the conditional instead, merge the parameters instead of overwriting all of them.
Comment #35
dawehnerLooks awesome now.
Comment #36
catchCommitted/pushed to 8.0.x, thanks!