Comment 1 for bug 1815431

Revision history for this message
Colin Watson (cjwatson) wrote :

It's intended that rule ordering is canonicalised: exact-match rules first in lexicographical order, followed by wildcard rules in the requested order. (The ordering of exact-match rules relative to each other can't matter, it doesn't make sense for them to follow wildcard rules, and it's helpful in some cases to have a canonical ordering.)

However, I forgot to canonicalise the expected ordering in setRules as well, so the end result is (in part) an assertion that the webservice API caller provided the rules in canonical order, which of course isn't appropriate.