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

        1. Stage1_Macro_Page.jpg
          87 kB
          Ilie Andriuta
        2. Stage1_Notif_Prefs.jpg
          156 kB
          Ilie Andriuta
        3. Stage2_Macro_Page.jpg
          100 kB
          Ilie Andriuta
        4. Stage2_Notif_Prefs.jpg
          151 kB
          Ilie Andriuta

        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: