[xwiki/xwiki-platform] f973be: XWIKI-24371: Skip the force edit lock confirmation...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: f973be23e50ba44dd6acd9791e488cd6f59bccd2 https://github.com/xwiki/xwiki-platform/commit/f973be23e50ba44dd6acd9791e488... Author: Vincent Massol <vincent@massol.net> Date: 2026-08-31 (Mon, 31 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/edit/EditModeResolver.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/internal/edit/EditModeResolverTest.java Log Message: ----------- XWIKI-24371: Skip the force edit lock confirmation when joining a realtime collaboration session with BlockNote (#6263) Fix a SonarQube issue: a possible NPE when resolving the edit mode: * EditModeResolver#getEditMode() read the translated document from the XWiki context ("tdoc") and dereferenced it without checking for null, while that context entry is absent when the edit mode is resolved outside of a request targeting a document. * Return the default WIKI edit mode in that case, since neither the sheets nor the document syntax can be looked up without a document. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications