This issue has been created
There are 7 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-5cdf566b-b758-468f-9dc6-253bbaf91cfa XWIKI-22271 Open

Custom filters to subwiki remain on the main Wiki after subwiki is deleted

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-e0318594-d12a-4bb7-8294-1868384b012f Nikita Petrenko created this issue on 18/Jun/24 10:12
 
Summary: Custom filters to subwiki remain on the main Wiki after subwiki is deleted
Issue Type: cid:jira-generated-image-avatar-5cdf566b-b758-468f-9dc6-253bbaf91cfa Bug
Affects Versions: 16.1.0-rc-1
Assignee: Unassigned
Components: Notifications
Created: 18/Jun/24 10:12
Environment: XWiki 16.1-RC local jetty instance
Priority: cid:jira-generated-image-static-blocker-769c5459-689b-49ad-aa5b-0b8540000017 Blocker
Reporter: Nikita Petrenko
Description:

Prerequisites

Being logged as Admin user.

Steps to reproduce:

  1. Open 2 separate window: one is the Notification preferences of the current user and the second Wiki Manager
  2. Create a new wiki with any name (for instance, test)
  3. After the creation job is done, create a custom filter with any settings that will read events of the newly created wiki (see image)
  4. Delete created wiki and wait for job completion
  5. Observe the custom filters section once more

Actual result

It will have a previously created filter that lists to subwiki that no longer exists.

Expected result

The custom filter doesn't have any filters that were created for the subwiki after that wiki was deleted.

 

 
 

7 updates

 
cid:jira-generated-image-avatar-e0318594-d12a-4bb7-8294-1868384b012f Changes by Nikita Petrenko on 18/Jun/24 10:14
 
Description: h3. Prerequisites

Being logged as Admin user.
h4. Steps to reproduce:
# Open 2 separate window: one is the Notification preferences of the current user and the second Wiki Manager
# Create a new wiki with any name (for instance, {_}test{_})
# After the creation job is done, create a custom filter with any settings that will read events of the newly created wiki (see image)
# Delete created wiki and wait for job completion
# Observe the custom filters section once more

h3. Actual result

It will have a previously created filter that lists to subwiki that no longer exists
(see another image) .
h3. Expected result

The custom filter doesn't have any filters that were created for the subwiki after that wiki was deleted.

 
Attachment: after subwiki was deleted.png
Attachment: creating custom filter to subwiki.png
 
cid:jira-generated-image-avatar-3d8d9d19-f9e8-4217-b499-0134779990f5 Changes by Thomas Mortagne on 18/Jun/24 10:15
 
Fix Version: 16.4.1
Fix Version: 16.5.0
Labels: regression
 
cid:jira-generated-image-avatar-e0318594-d12a-4bb7-8294-1868384b012f Changes by Nikita Petrenko on 18/Jun/24 10:17
 
Description: h3. Prerequisites

Being logged as Admin user.
h4. Steps to reproduce:
# Open 2 separate window: one is the Notification preferences of the current user and the second Wiki Manager
# Create a new wiki with any name (for instance, {_}test{_})
# After the creation job is done, create a custom filter with any settings that will read events of the newly created wiki (see image)
# Delete created wiki and wait for job completion
#
Observe Refresh first opened window and observe the custom filters section once more

h3. Actual result

It will have a previously created filter that
lists listens to subwiki that no longer exists (see another image).
h3. Expected result

The custom filter doesn't have any filters that were created for the subwiki after that wiki was deleted.