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

Provide a more readable toString implementation for Entity and Document References

    XMLWordPrintable

    Details

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

      Description

      For ER:

      Object xwiki:XWiki.MyUIExtension^xwiki:XWiki.UIExtensionClass[1]
      

      vs

      name = [xwiki:XWiki.UIExtensionClass[1]], type = [OBJECT], parent = [name = [MyUIExtension], type = [DOCUMENT], parent = [name = [XWiki], type = [SPACE], parent = [name = [xwiki], type = [WIKI], parent = [null]]]]
      

      For DR:

      wiki:space.page
      

      vs

      name = [page], type = [DOCUMENT], parent = [name = [space], type = [SPACE], parent = [name = [wiki], type = [WIKI], parent = [null]]]
      

      And for DR with Locale:

      wiki:space.page(en)
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: