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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.5.1, 12.6
    • 12.5-rc-1
    • Notifications
    • Windows 10 Pro 64 bit, IE11, using a local instance of XWiki 12.5 RC1 on MySQL 8.0, Tomcat 9.0.36
    • Unit
    • Unknown
    • N/A
    • N/A

    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

        1. Expected_results_subwiki_12_1.png
          138 kB
          Ilie Andriuta
        2. Subwiki_Notifications.png
          125 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: