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

Enable in content views the use of aggregates in NXQL targeting VCS

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 7.10, 8.10, 9.10, 10.1
    • Fix Version/s: None

      Description

      In a content view targeting VCS, the syntax checking chokes on the way the NXQL result consisting in an aggregate is spelled.

      Aggregates supported in NXQL should also be supported in content view displaying the result of such a query.

      Specifically, querying in NXQL SUM(moncompte:compte1) , displaying this currently throws for instance

      Property 'SUM(moncompte' not found on type org.nuxeo.ecm.platform.query.api.PageSelection
      value="#{value['SUM(moncompte']['compte1)']}": Property 'SUM(moncompte' not found on type org.nuxeo.ecm.platform.query.api.PageSelection
      

      Depending on the syntax entered for SUM(moncompte:compte1), one can get various errors...

        Attachments

          Activity

            People

            • Assignee:
              pabgrall Patrick Abgrall
              Reporter:
              pabgrall Patrick Abgrall
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 minute
                1m