[JIRA] Resolved: (JENKINS-8485) CustomType descriptor breaks Hudson core descriptor search

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (JENKINS-8485) CustomType descriptor breaks Hudson core descriptor search

JIRA noreply@jenkins-ci.org

     [ http://issues.jenkins-ci.org/browse/JENKINS-8485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gbois resolved JENKINS-8485.
----------------------------

    Resolution: Fixed

xUnit 1.14 was upgraded to latest API (the current target is JENKINS 1.396)

> CustomType descriptor breaks Hudson core descriptor search
> ----------------------------------------------------------
>
>                 Key: JENKINS-8485
>                 URL: http://issues.jenkins-ci.org/browse/JENKINS-8485
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xunit
>            Reporter: eifert
>            Assignee: gbois
>
> hudson.plugin.xunit.types.CustomType.CustomInputMetricDescriptor.getId() throws an UnsupportedOperationException. However, hudson.model.Hudson.getDescriptor(String) uses getId() to identify plugins since December 2010. The exception can be seen for example in the Hudson logs during jelly parsing.
> (In my case, a more severe problem was losing the build history due to an internal plugin which uses Hudson.getDescriptor() - the exception prevented serializing the build.xml files to disk.)

--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira