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

Default entity reference serializer serializes the full reference for an extracted reference

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.2 M1
    • Fix Version/s: None
    • Labels:
    • keywords:
      model
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      For example, for a reference like the one resolved from

      xwiki:Space.Page
      

      doing a

      serializer.serialize(reference.extractReference(EntityType.SPACE))
      

      will result in

      xwiki:Space.Page
      

      instead of

      xwiki:Space
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              lucaa Anca Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: