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

Blog email notifications do not display user mentions in their body

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.5.1
    • Notifications
    • None
    • Windows 10 Pro 64 bit, Chrome 90, using a local instance of XWiki 12.10.6 on PostgreSQL 13, Tomcat
    • Unknown

    Description

      STEPS TO REPRODUCE

      Preconditions: The the Blog Applications is installed and Email sending is configured from Administration.

      1. Login as Admin
      2. Create an user (e.g. U1, with a valid email address)
      3. Login as U1
      4. Go to Notifications Settings > Applications section and set Blog toggles to ON
      5. Login as Admin
      6. Go to Blog
      7. Fill a new post name and click 'Create' to create a new blog post
      8. In 'Content' field, write a short sentence and mention user U1 (like "Hey @U1 how are you?")
      9. Select 'Publish' to publish the blog post
      10. Click 'Save & View'
      11. Trigger the 'Notifications daily email' job from Scheduler.WebHome
      12. Observe the email received for user U1

      EXPECTED RESULTS

      On received email, the Blog notification displays in its body (the block quote) the sentence with the user mention.

      ACTUAL RESULTS

      Only the words from the sentence are displayed, without the user mention, see attached screenshot.

      Attachments

        Activity

          People

            Unassigned Unassigned
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: