[xwiki/xwiki-platform] b6dec8: XWIKI-25219: BaseObject#set throws a NullPointerEx...
Branch: refs/heads/stable-17.10.x Home: https://github.com/xwiki/xwiki-platform Commit: b6dec85ca203021b0cc816fe643a4d8f4c4e391d https://github.com/xwiki/xwiki-platform/commit/b6dec85ca203021b0cc816fe643a4... 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]> (cherry picked from commit e379bb0edcef9c65119656e31d63e8dc97d005aa) To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
participants (1)
-
XWiki Notifications