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

Endless spinning wheel when log out from a page with Notifications Macro

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 10.11.9, 11.6, 11.3.2, 11.7-rc-1, 11.3.3
    • Fix Version/s: 11.7, 11.3.4, 10.11.10
    • Component/s: Notifications
    • Environment:
      Windows 10 Pro 64 bit, Chrome 76, using a local instance of XWiki 11.3.3 on PostgreSQL 11
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Go to Notifications Settings and set Pages toggles to ON (make sure the wiki is watched)
      3. Create an user (e.g. U1)
      4. Login as the user
      5. Create/update/comment a page (to generate some notification events)
      6. Login as Admin
      7. Edit/create a page using CKEditor
      8. From XWiki Macro, insert 'Notifications Macro'
      9. Click 'Save & View'
      10. Logout

      EXPECTED RESULTS

      When logging out from the page containing the Notifications Macro, a message is displayed informing that no notifications are available (for guest user). The RSS Feed link is not displayed.

      ACTUAL RESULTS

      Instead of the (info) message there is an endless spinning wheel along with the RSS Feed link which leads to the following error:

      HTTP Error 401: Problem accessing /xwiki/rest/notifications/rss. Reason: Unauthorized

      The issue could not be reproduced on XWiki 11.3.1, XWiki 10.11.8 and respectively, XWiki 11.5.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                surli Simon Urli
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: