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

Notifications Email Preferences Macro doesn't work properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.1-rc-1
    • Fix Version/s: 9.11.5, 10.5-rc-1
    • Component/s: Notifications
    • Labels:
    • Environment:
      Windows 10 Pro 64 bit, Firefox v.58, IE11, using a local instance XWiki 10.1 RC1 on PostgreSQL 10
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: