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

Fix NXQL query to retrieve documents without tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.10
    • Fix Version/s: 9.3
    • Component/s: Core

      Description

      It is currently not possible to retrieve documents that do not have tags using a NXQL query.
      The following queries does not return any document:

      SELECT * FROM Document WHERE ecm:tag = ''
      SELECT * FROM Document WHERE ecm:tag IS NULL
      SELECT * FROM Document WHERE ecm:tag/* = ''
      SELECT * FROM Document WHERE ecm:tag/* IS NULL
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 2 hours
                  2h