Branch: refs/heads/master
Home: https://github.com/jenkinsci/emailext-template-plugin
Commit: a36bd90014aad81fc5ee4da5aa8593e89e30c2b6
https://github.com/jenkinsci/emailext-template-plugin/commit/a36bd90014aad81fc5ee4da5aa8593e89e30c2b6
Author: Mark Waite <[email protected]>
Date: 2022-09-28 (Wed, 28 Sep 2022)
Changed paths:
M
src/main/resources/org/jenkinsci/plugins/emailext_template/ExtEmailTemplateManagement/sidepanel.groovy
Log Message:
-----------
[JENKINS-69153] Do not call deprecated h.singletonList (#71)
* Do not call deprecated h.singletonList
Jenkins 2.358 deprecated the `Functions.singletonList` method because
it is not normally needed in JEXL. The `h.singletonList(it)` call in
this groovy code reports a null pointer exception in Jenkins 2.358 and
later.
When the `h.singletonList(it)` call is replaced with `it`, the null
pointer exception is not reported and the page loads.
* Pass a list
Co-authored-by: Jesse Glick <[email protected]>
Co-authored-by: Jesse Glick <[email protected]>
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/emailext-template-plugin/push/refs/heads/master/45b0f2-a36bd9%40github.com.