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

Clean up the fake user that the UserDirectory creates inside the current in-memory document when it is rendered

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      The UserDirectory uses a trick to properly display class property pretty names. For this, it creates an in-memory user object in the current document if the currently viewing user is not registered (is the guest user).

      To avoid possible inconveniences (like making problems for code that checks if the current document is a user and renders the UserDirectory page for whatever reason), the fake user needs to be deleted from the in-memory document.

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: