-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.3
-
Fix Version/s: 9.10
-
Component/s: Core DBS, Core MongoDB, Query & PageProvider, Tagging
-
Sprint:nxcore 9.10.1
-
Story Points:2
The fix for NXP-23604 introduced a regression on the treatment of ecm:tag queries. Several ecm:tag naked references should be correlated to the same tag value, but they are not anymore. This should be fixed.
java.lang.AssertionError: expected:<0> but was:<1> at org.nuxeo.ecm.platform.tag.AbstractTestTagService.testQueriesOnTags(AbstractTestTagService.java:656) at org.nuxeo.ecm.platform.tag.AbstractTestTagService.testQueriesOnTagsWithProxies(AbstractTestTagService.java:608)
This is the part of the test that fails:
// unqualified name refers to the same tag nxql = nxql("SELECT * FROM File WHERE ecm:tag = 'tag1' AND ecm:tag = 'tag2'"); assertEquals(0, session.query(nxql).size());
- depends on
-
NXP-23604 NXQL queries not translating properly into MongoDB for multi-valued, complex types
- Resolved