Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
12.5.1
-
None
-
Windows 10 Pro 64 bit, Chrome 83, using a local instance of XWiki 12.5.1 on MySQL 8, Tomcat 9.0.36
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Create fresh (older) instance of XWiki (e.g. 11.10.5)
- Create a subwiki (e.g. with scope 'Both global and local users are available in the wiki')
- Create 3 local users on subwiki (e.g. U1, U2,and U3)
- Login with the user U1
- Go to Notifications Settings and set all Pages to ON
- Click on Notifications bell and make sure 'Watch this wiki' Notifications toggle is ON
- Login with U2
- Go to Notifications Settings and set all Pages to ON
- Click on Notifications bell and make sure 'Watch this wiki' Notifications toggle is OFF
- Close the instance
- Go to the newer instance (e.g. 12.5.1) and copy/cut the
[...]webapps\xwiki
folder and replace it (first delete the old one) in the same location on the older version
- Start XWiki and follow DW to the end
- Run also the DW for the subwiki
- On subwiki, login with U1, U2 and U3
- Observe the notification list for each user
EXPECTED RESULTS
No mention events are displayed on users' notifications list, as they were not mentioned anywhere.
ACTUAL RESULTS
Both U1 (which had Pages ON, 'Watch this wiki' ON) and U3 (which had Pages OFF, 'Watch this wiki' OFF - default settings) received 3 mentions in their notifications list.
Those 3 mentions lead to:
http://localhost/xwiki/wiki/subwikiglobal/view/XWiki/Mentions/#mention-example-1 http://localhost/xwiki/wiki/subwikiglobal/view/XWiki/Mentions/#mention-example-2 http://localhost/xwiki/wiki/subwikiglobal/view/XWiki/Mentions/#mention-example-3
but the links are not accessible because the URLs are missing the port of the XWiki instance.
The user U2 (which had Pages ON, 'Watch this wiki' OFF) did not received the mentions.
Attachments
Issue Links
- duplicates
-
XWIKI-17518 There should be no mentions in a clean wiki for the Admin user
- Closed