Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-22699

Resolving an EntityReference of type Page to Document doesn't check page existence

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.10.14
    • Model
    • None
    • Unknown

    Description

      Resolving an EntityReference of type Page such as wiki:Space/Page to a Document EntityReference should return wiki:Space.Page if that page exists. Right now the resolver always return wiki:Space.Page.WebHome without performing any check.

      This bug is very visible when resolving a PageResourceReference to a Document type, since the DocumentResourceReferenceResolver does perform this kind of check so there's an inconsistency here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            surli Simon Urli
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: