[xwiki/xwiki-platform] e379bb: XWIKI-25219: BaseObject#set throws a NullPointerEx...
Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: e379bb0edcef9c65119656e31d63e8dc97d005aa https://github.com/xwiki/xwiki-platform/commit/e379bb0edcef9c65119656e31d63e... Author: Simon Urli <[email protected]> Date: 2026-10-08 (Thu, 08 Oct 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/BaseObject.java M xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/objects/BaseObjectTest.java Log Message: ----------- XWIKI-25219: BaseObject#set throws a NullPointerException when setting an existing password property to the form placeholder * Keep the current value of an existing property when PropertyClass#fromString returns null, as it does in PasswordClass for the form password placeholder * Document that behaviour in the BaseObject#set javadoc * Add a unit test Co-Authored-By: Claude Opus 5.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