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

Fix for JENKINS-18629 caused a regression in several plugins

    XMLWordPrintable

Details

    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

            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.

            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.
            slide_o_mix Alex Earl added a comment -

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

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

            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.

            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.
            danielbeck Daniel Beck added a comment -

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

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

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

            danielbeck it was actually kohsuke who wrote that. From looking at DataBoundResolvable, it does sound like the same thing.

            jglick Jesse Glick added a comment - danielbeck it was actually kohsuke who wrote that. From looking at DataBoundResolvable , it does sound like the same thing.

            People

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

              Dates

                Created:
                Updated: