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

Add generic resolve script service method to resolve an entity reference

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 14.10.6
    • Model
    • None
    • Unknown

    Description

      It's possible to serialize an entity reference using withtype to have a full serialization containing the type, then it's possible to parse those using any resolver if we don't specify the type. However, we're missing the capability to parse those from a script as all the script services methods we have for resolving references are typed (e.g. resolveDocument): we'd need a generic resolve() method that would return an EntityReference.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: