-
Bug
-
Resolution: Fixed
-
Major
-
None
When users delete their email in user profile, the configuration file leaves an empty node in XML user configuration file
<hudson.tasks.Mailer_-UserProperty>
<emailAddress></emailAddress>
</hudson.tasks.Mailer_-UserProperty>
Jenkins then behaves like described here https://issues.jenkins-ci.org/browse/JENKINS-5625
Can you change the hudson.tasks.Mailer.UserProperty#getAddress() implementation to the code sguuested below and this bug will be fixed:
@Exported
public String getAddress()
This patch checks that email setting in user profile, and ensures that empty string/setting behaves like there is no setting present and takes generates the correct email address according to valid security realm implementation (if such) or appends default suffix (if deffined).
Thanks.
- is duplicated by
-
JENKINS-10296 Empty emailAddress causes Mailer error.
- Resolved