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

Setting "notifications.emails.enabled = false" causes velocity script error

    XMLWordPrintable

Details

    • Trivial
    • N/A
    • N/A

    Description

      If notifications.emails.enabled = false is set in xwiki.properties it causes a velocity script error in Administer wiki > Social > Notifications.

      It seems there is suppose to be warning/message that the notifications emails are disabled.
      Screenshot:

      MichaelHamann mentioned that "the standard macro is translation, not localization I think." and pointed to what seems to be a typo at: https://github.com/xwiki/xwiki-platform/blob/af383c05cf3163bde8f11f6add244bd07534f01a/xwiki-platform-core/xwiki-platform-notifications/xwiki-platform-notifications-ui/src/main/resources/XWiki/Notifications/Code/NotificationsAutoWatchPreferencesMacro.xml#L378

      The same error is also present for notifications.watchedEntities.enabled = false, and it is displayed Administer wiki > Social > Notifications under the Watched pages category.
      Screenshot:

       

      The errors were reproduced on 14.10.16 and also on 15.10.8

      Attachments

        Activity

          People

            surli Simon Urli
            Lucian Chevereseanu Lucian Chevereseanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: