Branch: refs/heads/fix/sonar-suggest-always-returns-false Home: https://github.com/xwiki/xwiki-platform Commit: bf2b3797029b89141e9967a57217d242a7ddaa48 https://github.com/xwiki/xwiki-platform/commit/bf2b3797029b89141e9967a57217d... Author: Claude <[email protected]> Date: 2026-05-12 (Tue, 12 May 2026) Changed paths: M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/suggest/suggest.js Log Message: ----------- [XWIKI] Fix SonarQube S3516: getSuggestions should not always return the same value The getSuggestions function in suggest.js was always returning false regardless of what action was taken. SonarQube rule S3516 flags this as a BLOCKER since a function that always returns the same value usually indicates a bug. Returned true when a new AJAX request is scheduled (the else branch), keeping false for all other cases where no new request is made (input unchanged, too short, or served from cache). https://claude.ai/code/session_012AtaFRwNqcM6w4eFRtvn2v To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications