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

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.2-milestone-3
    • 4.2-milestone-2
    • Model
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: