[xwiki/xwiki-platform] 716a8d: XWIKI-24748: DBListClass#displayView override is u...
Branch: refs/heads/stable-16.10.x Home: https://github.com/xwiki/xwiki-platform Commit: 716a8d81b6d49cbbec3081fd59a5f3c101c209c1 https://github.com/xwiki/xwiki-platform/commit/716a8d81b6d49cbbec3081fd59a5f... Author: Simon Urli <[email protected]> Date: 2026-09-04 (Fri, 04 Sep 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/DBListClass.java Log Message: ----------- XWIKI-24748: DBListClass#displayView override is useless * Removed the DBListClass#displayView override: investigation confirmed it was superfluous, with two intentional behavior changes from now using ListClass#displayView instead * View-mode values are now XML-escaped (XMLUtils.escapeElementText), which DBListClass's override was missing since XWIKI-17374 added that escaping to ListClass#displayView without updating this override * The database list query (DBListClass#getDBList, via getMap) is no longer executed when the property value is unset, since the null check now runs before the map is computed (cherry picked from commit e9ba1c2ccdb6a0f2f41a96647bdebf3553c11de6) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications