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

There is no way to get the reference to the subscriber in the XWiki.WatchListMessage template

    XMLWordPrintable

Details

    • Unknown

    Description

      We should be able to send, in an email, a link to user's profile, in watchlist category, in order to let him to disable the notifications. For that we need a way to get the reference of XWiki.xwikiuser.

      To solve this, as Marius Dumitru Florea suggested, there are 2 possible ways (in WatchListNotifier.java):

      • add the user reference in Velocity context
      • set the $xcontext.userReference

      Attachments

        Activity

          People

            acotiuga Alex Cotiugă
            acotiuga Alex Cotiugă
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: