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

Notifications Email Preferences Macro doesn't work properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.11.5, 10.5-rc-1
    • 10.1-rc-1
    • Notifications
    • Windows 10 Pro 64 bit, Firefox v.58, IE11, using a local instance XWiki 10.1 RC1 on PostgreSQL 10
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE:

      1. Login as Admin
      2. Click on the Watchlist bell
      3. Click on Notifications > Settings
      4. Select Hourly for 'Email Frequency' and Nothing for 'Details of the changes'
      5. In the 'Applications' section set all Notifications to ON (e.g. for Pages)
      6. Edit a page in CKEditor
      7. Click on XWiki Macro button
      8. Search for Notifications Email Preferences Macro
      9. Click 'Submit', then 'Save & View'
      10. Observe the existing settings on the macro (On 'Email Frequency' and 'Details of the changes')
      11. Click on Notifications > Settings
      12. Change 'Email Frequency' setting to Weekly and 'Details of the changes' to Standard
      13. Go to the edited page and observe the settings on the macro

      EXPECTED RESULTS

      When the Notifications Email Preferences Macro is inserted, both 'Email Frequency' and 'Details of the changes' settings are the same from the user's existing Notification Email Preferences.

      As the Notification Email Preferences are updated from user's Notification Settings, the Macro's settings should reflect those changes and update accordingly.

      ACTUAL RESULTS

      Only the 'Details of the changes' setting from the Macro synchronizes with the corresponding setting from the user's Notification Settings. The 'Email Frequency' setting keeps displaying 'Daily' regardless if the setting was changed by the user (as if doesn't read the setting).

      However, the settings can be changed correctly from the Macro and reflected in Notification Settings.

      Attachments

        Issue Links

          Activity

            People

              gdelhumeau Guillaume Delhumeau
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: