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

Better debugging display of NXQL expressions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.4, 2021.0
    • Component/s: Query & PageProvider

      Description

      Currently when building NXQL expressions using predicates, printing their value for debugging can be misleading. For instance this may be displayed:

      foo = 'f1' AND bar = 'b1' OR bar = 'b2'

      where what we actually want is:

      ((foo = 'f1') AND ((bar = 'b1') OR (bar = 'b2')))

      The parentheses make it clear what the operator priority is.

        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
                  1h