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

Live email notifications are sent for editing of some technical pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 12.10.5, 12.6.8, 13.1
    • 12.6.2, 12.10, 12.6.6, 12.10.4
    • Notifications
    • Windows 10 Pro 64 bit, Edge 87, using a local instance of XWiki 12.6.6 on HSQL 2.5.1, Jetty
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      Preconditions: Mail Sending on Administration is configured. Eventually, go to

      webapps\xwiki\WEB-INF\xwiki.properties

      and set/un-comment

      notifications.emails.live.graceTime = 1

      to enable the sending of e-mails after 1 minute.

      1. Create a new instance
      2. Login as Admin
      3. Create an user (e.g. U1)
      4. Login as U1
      5. Go to Notification Settings, set Pages toggles to ON and set Email Frequency to Live
      6. Login as Admin
      7. Go to Administer Wiki > Mail > Mail Sending and fill the configuration
      8. Check the U1's email inbox

      EXPECTED RESULTS

      No email notifications are received by the user.

      ACTUAL RESULTS

      An email notification is received for http://localhost:8080/xwiki/bin/view/Mail/MailConfig page, containing modifications done by Admin.

      I've noticed that there are also some email notifications received for editing by Admin of other pages as well, for example http://localhost:8080/xwiki/bin/view/XWiki/SearchConfig, this might have been after an instance restart (if relevant).

      The email notifications for these pages seems to be sent only for Live setting.

      The issue could not be reproduced on XWiki 12.6.1.

      Attachments

        Activity

          People

            surli Simon Urli
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: