[xwiki/xwiki-platform] d6018e: [Misc] Avoid loading the class editor when setting...
Branch: refs/heads/misc-avoid-the-class-editor-load-when-setting-a-preference Home: https://github.com/xwiki/xwiki-platform Commit: d6018e8094b9b9cb41e9d0e66dca5002444c58c6 https://github.com/xwiki/xwiki-platform/commit/d6018e8094b9b9cb41e9d0e66dca5... Author: Vincent Massol <vincent@massol.net> Date: 2026-08-31 (Mon, 31 Aug 2026) Changed paths: M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/TestUtils.java Log Message: ----------- [Misc] Avoid loading the class editor when setting a property in XWiki.XWikiPreferences * The "propadd" action used to add the property to the XWiki.XWikiPreferences class redirects to the class editor of the document it modified, and loading that editor for a class with dozens of properties is by far the most expensive part of setting a preference. Redirect the browser to a page that loads fast instead, since no caller has any use for that editor. * Fix the Javadoc of setPropertyInXWikiPreferences(), which stated that the page displayed in the browser was left untouched although the class update always navigates. 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