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

Add explicit support for Document and XWikiDocument in DocumentReferenceConverter and EntityReferenceConverter

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.11.9
    • Fix Version/s: 11.8-rc-1
    • Component/s: Model
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Right now Document and XWikiDocument are not automatically converted in DocumentReference by the converter, but it's actually processed as objects, so their toString method is used, which is not reliable in case of subwiki, and which is bad in terms of performance.

      We should natively support the conversion of those classes in DocumentReferenceConverter.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                surli Simon Urli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: