[xwiki/xwiki-platform] 9cbc00: XWIKI-24371: Skip the force edit lock confirmation...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: 9cbc00c56dc0ff3cfbc797fb8b168d75c67b6b43 https://github.com/xwiki/xwiki-platform/commit/9cbc00c56dc0ff3cfbc797fb8b168... Author: Vincent Massol <[email protected]> Date: 2026-09-02 (Wed, 02 Sep 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/main/java/org/xwiki/doc/lock/LockContext.java M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/org/xwiki/internal/document/lock/DefaultLockContext.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/org/xwiki/internal/document/lock/DefaultLockContextTest.java Log Message: ----------- XWIKI-24371: Skip the force edit lock confirmation when joining a realtime collaboration session with BlockNote (#6277) * Stop failing with an IllegalArgumentException when the resolved edit mode is not one of the LockContext.EditMode values (e.g. the object editor), which made the edit action return a server error page for any document locked by someone else * Document that LockContext#getEditMode() returns null for such edit modes, which the existing unlock rules already handle Co-authored-by: Claude Opus 5 (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