Currently if two contexts have the same namespace-value pair and both are set on paths then the last one processes sets the value (where they are processed in alphabetic order N-A-V). It seems to be that if a path matches more precisely or at the extreme exactly it should have precedence over a less precise match.
e.g. /blog/joe/man-in-the-moon should beat /blog/joe/* should beat /blog/*

I am interested in developing a patch to do this in context_init, but am not sure if this is wanted over the current behavior.

Would this contradict the maintainers intent?

Comments

steven jones’s picture

Version: 6.x-2.0-beta5 » 6.x-2.0-beta7
Status: Active » Postponed (maintainer needs more info)

Yeah, it should probably work that way. Are you still able to work on a patch?

e2thex’s picture

Well Not until after drupalcon but yes I will beable to (and would like to) take a look at it again in a few weeks.

steven jones’s picture

Version: 6.x-2.0-beta7 » 6.x-3.x-dev
Status: Postponed (maintainer needs more info) » Active

This isn't going to happen for 6.x-2.x I'm afraid.

I'll assign to 3.x, and let the maintainers there decide what they want to do with this issue.