[JIRA] (JENKINS-52906) jira-plugin: FAILED TO EXPORT hudson.plugins.jira.JiraProjectProperty

7 views
Skip to first unread message

tobias.hinz@gmail.com (JIRA)

unread,
Aug 6, 2018, 3:41:02 PM8/6/18
to jenkinsc...@googlegroups.com
Tobias Herrmann Hinz updated an issue
 
Jenkins / Bug JENKINS-52906
jira-plugin: FAILED TO EXPORT hudson.plugins.jira.JiraProjectProperty
Change By: Tobias Herrmann Hinz
Summary: jira-plugin: FAILED TO EXPORT hudson.plugins.jira.JiraProjectProperty - jcasc-compatibility
* please see the following issue over at github *

[https://github.com/jenkinsci/configuration-as-code-plugin/issues/409

]

seems like the getter/setters are taking and returning different objects. 

*proposal*:

- "To keep binary compatibility you could introduce a new property get/setUrls()"

 

 
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

tobias.hinz@gmail.com (JIRA)

unread,
Aug 6, 2018, 3:43:02 PM8/6/18
to jenkinsc...@googlegroups.com
Tobias Herrmann Hinz updated an issue
*please see check the following issue over at [ github |https://github.com/jenkinsci/configuration-as-code-plugin/issues/409] *: 


[https://github.com/jenkinsci/configuration-as-code-plugin/issues/409]

seems like the getter/setters are taking and returning different objects. 

*proposal*:

- "To keep binary compatibility you could introduce a new property get/setUrls()"

 

 

nicolas.deloof@gmail.com (JIRA)

unread,
Aug 7, 2018, 12:40:01 PM8/7/18
to jenkinsc...@googlegroups.com
Nicolas De Loof updated an issue
Change By: Nicolas De Loof
*please check the following issue over at [github|https://github.com/jenkinsci/configuration-as-code-plugin/issues/409]*


[https://github.com/jenkinsci/configuration-as-code-plugin/issues/409]

seems like the getter/setters are taking and returning different objects. 

*proposal*:


- "To keep binary compatibility you could introduce a new property
get/setUrls()" to access sites

 

 

nicolas.deloof@gmail.com (JIRA)

unread,
Aug 7, 2018, 2:59:01 PM8/7/18
to jenkinsc...@googlegroups.com
Nicolas De Loof commented on Bug JENKINS-52906
 
Re: jira-plugin: FAILED TO EXPORT hudson.plugins.jira.JiraProjectProperty

Incompatibility comes from conflicting accessors :

public void setSites(JiraSite site)

vs 
public JiraSite[] getSites()

 

The later return an array, while the former takes a single argument (and actually don't set value, but add to internal list.

CasC can't introspect the data type and fail to read current value.

one could imagine to introduce DescriptorImpl#setSites(Sites[]), but doing so CasC won't be able to distinguish the two set methods :'(

 

 

 

nicolas.deloof@gmail.com (JIRA)

unread,
Aug 9, 2018, 4:04:01 PM8/9/18
to jenkinsc...@googlegroups.com

nicolas.deloof@gmail.com (JIRA)

unread,
Aug 9, 2018, 4:04:02 PM8/9/18
to jenkinsc...@googlegroups.com
Nicolas De Loof started work on Bug JENKINS-52906
 
Change By: Nicolas De Loof
Status: Open In Progress

olamy@apache.org (JIRA)

unread,
Aug 21, 2018, 4:46:02 AM8/21/18
to jenkinsc...@googlegroups.com
Olivier Lamy commented on Bug JENKINS-52906
 
Re: jira-plugin: FAILED TO EXPORT hudson.plugins.jira.JiraProjectProperty

Yup would good to add such method.

any way to change CasC to prefer the method with the type returned by the getter?

Otherwise I'm fine to merge the pr. 

josephp90@gmail.com (JIRA)

unread,
Oct 21, 2018, 3:25:02 PM10/21/18
to jenkinsc...@googlegroups.com

Created https://github.com/jenkinsci/jira-plugin/pull/168 in hopes of getting this resolved

This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

josephp90@gmail.com (JIRA)

unread,
Oct 21, 2018, 3:25:03 PM10/21/18
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Mar 23, 2019, 10:40:01 AM3/23/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Apr 1, 2019, 5:46:02 PM4/1/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Apr 1, 2019, 5:47:03 PM4/1/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Apr 1, 2019, 5:47:04 PM4/1/19
to jenkinsc...@googlegroups.com

olamy@apache.org (JIRA)

unread,
Apr 12, 2019, 9:55:04 PM4/12/19
to jenkinsc...@googlegroups.com
Olivier Lamy updated an issue
Change By: Olivier Lamy
Labels: jcasc-compatibility jira-plugin-3.0.7

olamy@apache.org (JIRA)

unread,
Apr 12, 2019, 9:55:05 PM4/12/19
to jenkinsc...@googlegroups.com
Change By: Olivier Lamy
Status: In Review Fixed but Unreleased
Resolution: Fixed

radek.antoniuk@quiddia.com (JIRA)

unread,
May 1, 2019, 7:09:02 AM5/1/19
to jenkinsc...@googlegroups.com

olamy@apache.org (JIRA)

unread,
Aug 20, 2019, 5:21:07 PM8/20/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Aug 20, 2019, 7:42:01 PM8/20/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 16, 2019, 9:46:04 AM9/16/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Change By: Oleg Nenashev
Released As: JIRA Plugin 3.0.7
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages