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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: HOTFIX_10.10, 11.x
    • Component/s: Elasticsearch

      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:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

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