Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20262

Fix for JENKINS-18629 caused a regression in several plugins

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://github.com/jenkinsci/jenkins/commit/c01333c346176c93e8cbf93b5822978d8d2c0bff introduced a new behavior that breaks several plugins. The issue seems to arise only when a class that extends Descriptor implements its own newInstance method.

        Attachments

          Issue Links

            Activity

            Hide
            kutzi kutzi added a comment -

            Currently still here: https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin
            But Jesse has now removed the email-ext component from this issue, so it will eventually disappear from the Wiki page, too.

            Show
            kutzi kutzi added a comment - Currently still here: https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin But Jesse has now removed the email-ext component from this issue, so it will eventually disappear from the Wiki page, too.
            Hide
            slide_o_mix Alex Earl added a comment -

            Just click the "refresh" button on the JIRA widget and it goes away.

            Show
            slide_o_mix Alex Earl added a comment - Just click the "refresh" button on the JIRA widget and it goes away.
            Hide
            nikki586 Nicole Jacobson added a comment -

            Any news on this? Believe this is related to ruby-runtime defect ( https://github.com/jenkinsci/jenkins.rb/issues/112 ). If the recommendation is not to use newInstance() then what should the ruby-runtime lib be updated to use? Many ruby-runtime dependent plugins are broken with the build unable to save any post build actions.

            Show
            nikki586 Nicole Jacobson added a comment - Any news on this? Believe this is related to ruby-runtime defect ( https://github.com/jenkinsci/jenkins.rb/issues/112 ). If the recommendation is not to use newInstance() then what should the ruby-runtime lib be updated to use? Many ruby-runtime dependent plugins are broken with the build unable to save any post build actions.
            Hide
            danielbeck Daniel Beck added a comment -

            define an interface in Stapler that allows an object to nominate its own replacement

            Jesse Glick Is https://github.com/stapler/stapler/blob/master/core/src/main/java/org/kohsuke/stapler/DataBoundResolvable.java what you meant here?

            Show
            danielbeck Daniel Beck added a comment - define an interface in Stapler that allows an object to nominate its own replacement Jesse Glick Is https://github.com/stapler/stapler/blob/master/core/src/main/java/org/kohsuke/stapler/DataBoundResolvable.java what you meant here?
            Hide
            jglick Jesse Glick added a comment -

            Daniel Beck it was actually Kohsuke Kawaguchi who wrote that. From looking at DataBoundResolvable, it does sound like the same thing.

            Show
            jglick Jesse Glick added a comment - Daniel Beck it was actually Kohsuke Kawaguchi who wrote that. From looking at DataBoundResolvable , it does sound like the same thing.

              People

              • Assignee:
                Unassigned
                Reporter:
                slide_o_mix Alex Earl
              • Votes:
                5 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated: