Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-648

Regression: Referred documents list can be incorrect for non-admin users

    XMLWordPrintable

Details

    Description

      When document A refers to document B, you can "Show referring documents..." on document B, and find document A. When logged in as editor or author, not all documents are shown there. When logged in as admin, the documents are found.

      This doesn't work either when publishing/taking offline/deleting documents that are linked to.

      It appears that links made with hippo:mirror aren't found correctly. hippo:mirror nodes are for instance created by the "Links" compound field.

      Links made with hippo:facetselect are found. These nodes are for instance created when making an internal link in the Xinha editor.

      To reproduce (archetype):

      • Log in as admin
      • Go to the documents, configuration.
      • Edit the newsdocument template
      • Add the compound field "Link"
      • Save and commit the changes
      • Browse to Documents and the News folder, and edit a news document
      • Add a link to the About document in the Common folder
      • Save & Close and publish
      • Browse to the Common folder, and open the About document
      • Click "Document" in the toolbar, and select "Show referring documents..."
      • Check that the edited news article is there.
      • Log out and log in as editor
      • Browse to the Common folder, and open the About document
      • Click "Document" in the toolbar, and select "Show referring documents..."
        Expected result: The edited news article is shown
        Actual result: No referring documents are shown

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              svoortman Simon Voortman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: