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

Add ecm:isVersion missing aggregate fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2021.0, 2023.0
    • Fix Version/s: 2021.45, 2023.4
    • Component/s: Elasticsearch
    • Release Notes Summary:
      Elasticsearch aggregates on ecm:isVerison are now returned by the Rest API
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #99
    • Story Points:
      3

      Description

      The following aggregates are available in Studio, but not in https://github.com/nuxeo/nuxeo-lts/blob/2021/modules/platform/nuxeo-elasticsearch/nuxeo-elasticsearch-core/src/main/java/org/nuxeo/elasticsearch/io/marshallers/json/AggregateJsonWriter.java#L84

      • ecm:isVersion
      • ecm:lockOwner
      • ecm:proxyTargetId
      • ecm:proxyVersionableId
      • ecm:isLatestVersion
      • ecm:isLatestMajorVersion
      • ecm:isCheckedIn
      • ecm:versionDescription
      • ecm:versionVersionableId

      There are others too, but probably less useful e.g. ecm:name

      This causes the error message in server.log e.g.:

      [org.nuxeo.elasticsearch.io.marshallers.json.AggregateJsonWriter] Field: ecm:isVersion is not a valid field for aggregates
      

      Please can they be added?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: