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

Entity Reference serializers should fail if the passed reference is invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 4.2-milestone-2
    • Model
    • Unknown
    • N/A
    • N/A

    Description

      For example the following should not produce a valid serialized string:

      new EntityReference("page", EntityType.DOCUMENT, new EntityReference("filename",
       EntityType.ATTACHMENT))
      

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: