Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-4462

Fix default aggregate path binding for complex multi-valued properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 73.4
    • Fix Version/s: 73.12
    • Component/s: Page Providers

      Description

      The default path generated by studio is incorrect

      example: to define an aggregate on tag labels, the path generated by studio is tags/0/label with schema facetedTag. This returns an empty bucket at runtime and results in an warning message

      2018-01-03 19:17:35,363 WARN  [http-nio-127.0.0.1-8080-exec-20] [org.nuxeo.elasticsearch.io.marshallers.json.AggregateJsonWriter] Could not resolve field nxtag:tags.0.label for aggregate facetedTag_tags_0_label_agg
      

      The correct path is tags/label

        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 - 5 hours
                  5h