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

Fix MongoDB complex boolean property query

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF04, 8.1
    • Component/s: Core MongoDB

      Description

      A query like the following fails:

      SELECT ... WHERE drv:subscriptions/*1/enabled = 1
      

      This fails because the query is transmitted as:

      { "drv:subscriptions.enabled" : 1 }
      

      instead of:

      { "drv:subscriptions.enabled" : true }
      

      due to bad analysis of the global property type.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: