Problem/Motivation

Looks like LazyRouteFilter doesn't handle priority

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

joshi.rohit100 created an issue. See original summary.

andypost’s picture

confirm that priority does not taken into account

tim.plunkett’s picture

It does not. I just had to work around this in Page Manager by making the route filter non-lazy.

joshi.rohit100’s picture

I was first in impression that its a tagged service and thus i can register my service with high priority and should work but not the case. So I even did a work around by overriding lay route service for this - https://github.com/joshirohit100/rest_without_format

tim.plunkett’s picture

Title: Looks like LazyRouteFilter doesn't handle priority » LazyRouteFilter doesn't handle priority
Issue summary: View changes

- { name: route_filter }
is for lazy route filters (which is a Drupalism), and currently does not support priority

- { name: non_lazy_route_filter, priority: -1024 }
is for regular route filters, and works fine.

tim.plunkett’s picture

dawehner’s picture

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

dawehner’s picture

Status: Active » Postponed
dawehner’s picture

#2883680: Force all route filters and route enhancers to be non-lazy is a concrete issue to resolve that particular problem.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Wim Leers’s picture