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

Notification plugin prevents job configuration from update in 2.277

    • 1.15

      The Notification plugin breaks the UI and prevents configurations from being saved after upgrade to 2.277+

      The symptoms are that:

      UI does not render correctly and configuration changes are not saved.

      This has been tested on:

      • notification:1.14 'Jenkins Notification plugin'
      • Jenkins 2.277.4

       

      Workaround

      • Disabling the plugin fixes the configuration update issue.

          [JENKINS-65747] Notification plugin prevents job configuration from update in 2.277

          Notification plugin breaks the UI after the fix. The workaround is to disable the plugin temporarily.

          Manuel Cardenas added a comment - Notification plugin breaks the UI after the fix. The workaround is to disable the plugin temporarily.

          mcardenasblanco when you say "temporarily" do you mean until there is a fix? Do you mean turning it off and then on resolves the issue?

          Doug Whitfield added a comment - mcardenasblanco when you say "temporarily" do you mean until there is a fix? Do you mean turning it off and then on resolves the issue?

          Mark Waite added a comment -

          douglasawh the notification plugin must be disabled until a fix is available. If you'd like to submit a fix, instructions are available on jenkins.io. The change needs to be in the config.jelly file. The last release of the plugin was May 2022, so there is some activity on the plugin that might get a proposed fix merged.

          Alternatives for the fix include:

          I prefer the first option because it seems simpler and easier to maintain. I don't know what the maintainers of the plugin prefer.

          Mark Waite added a comment - douglasawh the notification plugin must be disabled until a fix is available. If you'd like to submit a fix, instructions are available on jenkins.io. The change needs to be in the config.jelly file . The last release of the plugin was May 2022, so there is some activity on the plugin that might get a proposed fix merged. Alternatives for the fix include: Update the minimum Jenkins version to 2.346.3 and change the <table> tags to <div> tags in the config.jelly file Insert conditionals into config.jelly to support older Jenkins versions as described in the tables to divs migration guide I prefer the first option because it seems simpler and easier to maintain. I don't know what the maintainers of the plugin prefer.

          S added a comment -

           

          I have tested the version 1.15  released on 14 July 2021(a release 1.17 has been released 2 weeks ago)  on  Jenkins controller 2.346.4.1.

          It seems to solve the issue described as the "Save button" is no longer frozen.

           

          S added a comment -   I have tested the version 1.15  released on 14 July 2021(a release 1.17 has been released 2 weeks ago)  on  Jenkins controller 2.346.4.1. It seems to solve the issue described as the "Save button" is no longer frozen.  

          Mark Waite added a comment -

          As far as I can tell from reading the source code, div based form layout conditionals have been added. Thanks!

          Mark Waite added a comment - As far as I can tell from reading the source code, div based form layout conditionals have been added. Thanks!

            mcardenasblanco Manuel Cardenas
            mcardenasblanco Manuel Cardenas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: