[xwiki/xwiki-platform] b62be1: XWIKI-18766: The displayer for the "List of users"...
Branch: refs/heads/XWIKI-18766 Home: https://github.com/xwiki/xwiki-platform Commit: b62be17e70383b63ebe3611950e52fb2c3e10adf https://github.com/xwiki/xwiki-platform/commit/b62be17e70383b63ebe3611950e52... Author: Vincent Massol <[email protected]> Date: 2026-07-02 (Thu, 02 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/objects/classes/DefaultUsersQueryBuilder.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/internal/objects/classes/DefaultUsersQueryBuilderTest.java M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java Log Message: ----------- XWIKI-18766: The displayer for the "List of users" property suggests disabled users Make the test Admin user active so it is returned by the user suggestion query. createAdminUser() builds the XWikiUsers object directly via REST and, unlike createUser() which goes through the registration action, never set the active property, leaving it null. Since DefaultUsersQueryBuilder filters enabled users with active = 1, the Admin user was wrongly excluded. Set active = 1 on it, as a real Admin user is. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications