From 29dc1d5fa8e684e27034f717eb820ff53cdb14ea Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Fri, 18 Mar 2011 21:28:21 -0700 Subject: [PATCH] [FIXED JENKINS-9062] Fixed a bug in persisting user configuration that causes NPE in some plugins --- changelog.html | 3 ++ core/src/main/java/hudson/model/User.java | 3 +- .../java/hudson/model/UserPropertyTest.java | 52 +++++++++++++++++++ .../UserProperty1/config.jelly | 1 + .../UserProperty2/config.jelly | 1 + 5 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 test/src/test/java/hudson/model/UserPropertyTest.java create mode 100644 test/src/test/resources/hudson/model/UserPropertyTest/UserProperty1/config.jelly create mode 100644 test/src/test/resources/hudson/model/UserPropertyTest/UserProperty2/config.jelly diff --git a/changelog.html b/changelog.html index 05ff9b16e3..dac3b7a117 100644 --- a/changelog.html +++ b/changelog.html @@ -60,6 +60,9 @@ Upcoming changes