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

The wiki name is not displayed properly anymore on Notifications list and Notifications Macro on subwikis

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 12.5-rc-1
    • Fix Version/s: 12.5.1, 12.6
    • Component/s: Notifications
    • Environment:
      Windows 10 Pro 64 bit, IE11, using a local instance of XWiki 12.5 RC1 on MySQL 8.0, Tomcat 9.0.36
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create a subwiki
      3. Login as an user (e.g. U1)
      4. Go to Notifications > Settings
      5. Set all Pages Notifications to ON
      6. Go to the subwiki created previously
      7. Click on Notifications bell and turn 'Watch this wiki' toggle to ON
      8. Login as Admin
      9. Create, update and comment a page on the subwiki
      10. Create, update and comment a page as well on Main Wiki
      11. Login as U1
      12. Go to subwiki and observe the notifications list
      13. Go to the subwiki's Dashboard and observe the events

      EXPECTED RESULTS

      The name of the wiki where the events took place is displayed near the link to the respective pages in notifications list, depending where the list is being viewed.

      If the list is viewed in subwiki, for events that took place on Main Wiki is displayed '(Home)', and for events that took place locally, no wiki name is displayed.

      As well, on subwiki's Dashboard Activity Stream, since the events took place in respective subwiki, no wiki name is displayed.

      ACTUAL RESULTS

      On subwiki, events are displayed on notifications list and on Dashboard's Activity Stream as they are viewed in Main Wiki.

      No 'Home' is displayed for events that took place on Main Wiki, and the name of the local subwiki is displayed on events that took place locally in this subwiki.

      The issue could not be reproduced on XWiki 12.1.

        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: