[xwiki/xwiki-platform] fa3cff: [Misc] Avoid loading the class editor when setting...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: fa3cff1c705a7b504c45be004cdaf19f056373d5 https://github.com/xwiki/xwiki-platform/commit/fa3cff1c705a7b504c45be004cdaf... 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 (#6271) * 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