Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23823

Fix ecm:tag queries on DBS

    XMLWordPrintable

    Details

      Description

      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());
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m