[xwiki/xwiki-platform] 1d5e34: XWIKI-2445: Cannot set a custom role hint priority...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 1d5e346194b03616c0833731799987856b86b763 https://github.com/xwiki/xwiki-platform/commit/1d5e346194b03616c083373179998... Author: Vincent Massol <[email protected]> Date: 2026-06-02 (Tue, 02 Jun 2026) Changed paths: M xwiki-platform-core/xwiki-platform-component/xwiki-platform-component-wiki/src/main/java/org/xwiki/component/wiki/internal/DefaultWikiComponent.java Log Message: ----------- XWIKI-2445: Cannot set a custom role hint priority for a wiki component The getRoleHintPriority() method was mistakenly returning roleTypePriority instead of roleHintPriority, causing role hint priority to always equal the role type priority regardless of what was set via setRoleHintPriority(). Fixes SonarCloud issue: https://sonarcloud.io/project/issues?id=org.xwiki.platform:xwiki-platform&is... Co-authored-by: Claude <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications