This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-6ec730c0-21c7-44c2-801c-af98471d17f9 XWIKI-23092 In Progress

Accessing a page in /view/ with a guest user can cause a useless datase query to count users

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2582b2d7-ca59-4200-adf5-fc66453654a7 Thomas Mortagne created this issue on 10/Apr/25 14:42
 
Summary: Access a page in /view/ with a guest user can cause a useless datase query to count users
Issue Type: cid:jira-generated-image-avatar-6ec730c0-21c7-44c2-801c-af98471d17f9 Bug
Affects Versions: 16.10.5
Assignee: Unassigned
Components: Extension - Distribution
Created: 10/Apr/25 14:42
Priority: cid:jira-generated-image-static-major-66d56d7d-0d11-4c2d-8772-3837063a8126 Major
Reporter: Thomas Mortagne
Description:

A listener is in charge of starting the DW when it's not been run yet. Problem is that it's checking if the current user is allowed to access it (which can be expensive if the user is guest and there are a lot of users) before checking if it was actually run already.

 
 

4 updates

 
cid:jira-generated-image-avatar-2582b2d7-ca59-4200-adf5-fc66453654a7 Changes by Thomas Mortagne on 10/Apr/25 14:42
 
Summary: Access Accessing a page in /view/ with a guest user can cause a useless datase query to count users
Assignee: Thomas Mortagne
Status: Open In Progress
Labels: performance