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

Fix elasticsearch indexing of property 'ecm:proxyVersionableId' for proxies

    Details

    • Release Notes Summary:
      The property 'ecm:proxyVersionableId' is now indexed in Elasticsearch. A reindexing is required for old documents.
    • Backlog priority:
      750
    • Upgrade notes:
      Hide

      In order to benefit from this fix, a reindexation is needed.

      Show
      In order to benefit from this fix, a reindexation is needed.
    • Sprint:
      nxplatform #35
    • Story Points:
      2

      Description

      When a proxy (publication) is sent to elasticsearch for indexing, the JSON representation does not contain property ecm:proxyVersionableId.

      It is a problem for the PUBLISHING tab in the Web UI, which uses the nxql_search page provider with the following NXQL query, when publishing a document with no rendition and when the nxql_search page provider is configured to use elasticsearch:

      SELECT * FROM Document WHERE ecm:isProxy = 1 AND ecm:isTrashed = 0 AND (rend:sourceVersionableId = "TARGET_DOC_UUID" OR ecm:proxyVersionableId = "TARGET_DOC_UUID")
      

      How to reproduce:

      • configure the nxql_search page provider to use elasticsearch
      • puiblish a document to a section with no rendition
      • navigate to the PUBLISHING tab

      Expected result: the PUBLISHING tab lists the published document
      Actual result: the PUBLISHING tab does not list the published document

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.