[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Ioannis Moutsatsos updated JENKINS-60319 Jenkins / JENKINS-60319 Reactive Parameter ignores toString Change By: Ioannis Moutsatsos Status: Fixed but Unreleased Closed Resolution: Fixed Not A Defect Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203316.1574954163000.7466.1576286580290%40Atlassian.JIRA.
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Ioannis Moutsatsos updated JENKINS-60319 Cast Objects to String. The returned Groovy array should always be a String array Jenkins / JENKINS-60319 Reactive Parameter ignores toString Change By: Ioannis Moutsatsos Status: Open Fixed but Unreleased Assignee: Bruno P. Kinoshita Ioannis Moutsatsos Resolution: Fixed Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Ioannis Moutsatsos commented on JENKINS-60319 Re: Reactive Parameter ignores toString class Choice { String tag String branch @Override String toString() { return tag + ' / ' + branch } } def obj1 = new Choice(branch: '1', tag:"3") def obj2 = new Choice(branch: '2', tag:"4") println obj1.getClass() return [obj1 as String, obj2 as String ] This works as expected. It seems to me that the original array is not 'stingified' .You need to explicity cast the Choice objects to String. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203316.1574954163000.7461.1576286400415%40Atlassian.JIRA.
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Ioannis Moutsatsos updated an issue Jenkins / JENKINS-60319 Reactive Parameter ignores toString Change By: Ioannis Moutsatsos Attachment: image-2019-12-13-20-19-21-140.png Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203316.1574954163000.7458.1576286400278%40Atlassian.JIRA.
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Ioannis Moutsatsos updated an issue Jenkins / JENKINS-60319 Reactive Parameter ignores toString Change By: Ioannis Moutsatsos Attachment: image-2019-12-13-20-15-51-433.png Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203316.1574954163000.7455.1576286160207%40Atlassian.JIRA.
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Bruno P. Kinoshita commented on JENKINS-60319 Re: Reactive Parameter ignores toString Just a quick update. I debugged this issue over the weekend, but couldn't understand why it was happening. Reproducing was quite simple, thanks to the example provided in the issue description. Will have another go next time I have some spare time. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203316.1574954163000.9887.1575253080131%40Atlassian.JIRA.
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Bruno P. Kinoshita commented on JENKINS-60319 Re: Reactive Parameter ignores toString Oh, interesting problem. Thanks for reporting. I'll need to debug to understand what's going on. Might have time this coming Sunday (NZ time). Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.203316.1574954163000.9205.1574989500397%40Atlassian.JIRA.
[JIRA] (JENKINS-60319) Reactive Parameter ignores toString
Title: Message Title Alexander Biryukov created an issue Jenkins / JENKINS-60319 Reactive Parameter ignores toString Issue Type: Bug Assignee: Bruno P. Kinoshita Attachments: image-2019-11-28-18-15-26-268.png Components: active-choices-plugin Created: 2019-11-28 15:16 Priority: Minor Reporter: Alexander Biryukov class Choice { String tag String branch @Override String toString() { return tag + ' / ' + branch } } def obj1 = new Choice(branch: '1', tag:"3") def obj2 = new Choice(branch: '2', tag:"4") return [obj1, obj2] The following groovy script works fine for Active Choice parameter, but broken for Reactive one. For some reason, Reactive version ignores toString (yet it shows correct string for a second), showing "Object" string instead: First paramater is reactive, the second is non-reactive