Branch: refs/heads/misc-avoid-the-class-editor-load-when-setting-a-preference Home: https://github.com/xwiki/xwiki-platform Commit: ba6827dddf9d3b6dbc03c6710f8ed06b74ef6f1b https://github.com/xwiki/xwiki-platform/commit/ba6827dddf9d3b6dbc03c6710f8ed... Author: Vincent Massol <[email protected]> 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) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications