Commit a8ff0e2a authored by Jérome Perrin's avatar Jérome Perrin

administration: fix MissingCategoryDocumentConstraint with acquisition

MissingCategoryDocumentConstraint was incorrectly using
unrestrictedTraverse, unlike category API which uses its own
resolveCategory method with better semantics.

Because of this, some problems were not reported:
 - categories using paths that resolve by acquisition, but does not
exists as such (like in the test)
 - categories using path with dynamic objects, like a website language.
parent 82206749
Pipeline #6768 failed with stage
in 0 seconds