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

Cannot save job configuration for maven projects with Jenkins 2.289

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • CenOS 8
      JDK: Oracle 1.8
      Jenkins: 2.289
      Maven Integration plugin: 3.10
      Maven Release Plug-In: 0.16.2
      Scriptler Plugin: 3.1

      Using http protocol

      Save button and Apply button do nothing on the job configure page (for maven projects).  This works for Freestyle projects.

      Steps to reproduce:

      1. Create new Maven Project
      2. Click Save

      Tested on Chrome, Firefox

      Browser console log attached (nothing new appears after clicking Save)

          [JENKINS-65505] Cannot save job configuration for maven projects with Jenkins 2.289

          Alexander Komarov created issue -

          Alexander Komarov added a comment - - edited

          Additionally:

          Manually editing config.xml for that job and "Reloading Jenkins Configuration" had no effect, I had to restart Jenkins for the job configuration changes to take effect.

          I will try this approach next time I need to edit: https://stackoverflow.com/a/54146660/1735931

          Alexander Komarov added a comment - - edited Additionally: Manually editing config.xml for that job and "Reloading Jenkins Configuration" had no effect, I had to restart Jenkins for the job configuration changes to take effect. I will try this approach next time I need to edit:  https://stackoverflow.com/a/54146660/1735931
          Alexander Komarov made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Alexander Komarov made changes -
          Link New: This issue duplicates JENKINS-65454 [ JENKINS-65454 ]
          Alexander Komarov made changes -
          Component/s New: scriptler-plugin [ 15743 ]

          Alexander Komarov added a comment - - edited

          Just noticed that I also cannot save changes to a Scriptler Script

          (same browser console errors)

          Alexander Komarov added a comment - - edited Just noticed that I also cannot save changes to a Scriptler Script (same browser console errors)
          Alexander Komarov made changes -
          Environment Original: CenOS 8
          JDK: Oracle 1.8
          Jenkins: 2.289
          Maven Integration plugin: 3.10
          Maven Release Plug-In: 0.16.2
          New: CenOS 8
          JDK: Oracle 1.8
          Jenkins: 2.289
          Maven Integration plugin: 3.10
          Maven Release Plug-In: 0.16.2
          Scriptler Plugin: 3.1

          Alexander Komarov added a comment - - edited

          Note that the browser errors suggest that this has to do with Cross-Origin issues, possibly because I'm not using HTTPS.

          The Cross-Origin-Opener-Policy header has been ignored, because the origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol

          I've attempted to use the cors-filter plugin, it made no difference.

          Alexander Komarov added a comment - - edited Note that the browser errors suggest that this has to do with Cross-Origin issues, possibly because I'm not using HTTPS. The Cross-Origin-Opener-Policy header has been ignored, because the origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol I've attempted to use the cors-filter plugin , it made no difference.
          Alexander Komarov made changes -
          Environment Original: CenOS 8
          JDK: Oracle 1.8
          Jenkins: 2.289
          Maven Integration plugin: 3.10
          Maven Release Plug-In: 0.16.2
          Scriptler Plugin: 3.1
          New: CenOS 8
          JDK: Oracle 1.8
          Jenkins: 2.289
          Maven Integration plugin: 3.10
          Maven Release Plug-In: 0.16.2
          Scriptler Plugin: 3.1

          Using http protocol

          Alexander Komarov added a comment - - edited

          Update: this is not a Cross-Origin issue.  I got around the CORS warning (using Chrome flag chrome://flags/#unsafely-treat-insecure-origin-as-secure) but the issue perists:

           

          TypeError: Cannot read property 'hasClassName' of undefined
           at repeatable.js:159
           at Array.forEach (<anonymous>)
           at behavior.js:116
           at Array.forEach (<anonymous>)
           at behavior.js:111
           at Array.forEach (<anonymous>)
           at Object.applySubtree (behavior.js:93)
           at Object.apply (behavior.js:76)
           at behavior.js:71
           at window.onload (behavior.js:133)
          (anonymous) @ behavior.js:119
          (anonymous) @ behavior.js:111
          applySubtree @ behavior.js:93
          apply @ behavior.js:76
          (anonymous) @ behavior.js:71
          window.onload @ behavior.js:133
          window.onload @ behavior.js:133
          load (async)
          addLoadEvent @ behavior.js:132
          createSearchBox @ hudson-behavior.js:2547
          (anonymous) @ editScript?id=LatestVersionEhcacheX.groovy:11
          behavior.js:119 TypeError: Cannot read property 'next' of undefined
           at findEnd (hudson-behavior.js:890)
           at hudson-behavior.js:1226
           at Array.forEach (<anonymous>)
           at behavior.js:116
           at Array.forEach (<anonymous>)
           at behavior.js:111
           at Array.forEach (<anonymous>)
           at Object.applySubtree (behavior.js:93)
           at Object.apply (behavior.js:76)
           at behavior.js:71

          Alexander Komarov added a comment - - edited Update: this is not a Cross-Origin issue.  I got around the CORS warning (using Chrome flag chrome://flags/#unsafely-treat-insecure-origin-as-secure) but the issue perists:   TypeError: Cannot read property 'hasClassName' of undefined at repeatable.js:159 at Array.forEach (<anonymous>) at behavior.js:116 at Array.forEach (<anonymous>) at behavior.js:111 at Array.forEach (<anonymous>) at Object .applySubtree (behavior.js:93) at Object .apply (behavior.js:76) at behavior.js:71 at window.onload (behavior.js:133) (anonymous) @ behavior.js:119 (anonymous) @ behavior.js:111 applySubtree @ behavior.js:93 apply @ behavior.js:76 (anonymous) @ behavior.js:71 window.onload @ behavior.js:133 window.onload @ behavior.js:133 load (async) addLoadEvent @ behavior.js:132 createSearchBox @ hudson-behavior.js:2547 (anonymous) @ editScript?id=LatestVersionEhcacheX.groovy:11 behavior.js:119 TypeError: Cannot read property 'next' of undefined at findEnd (hudson-behavior.js:890) at hudson-behavior.js:1226 at Array.forEach (<anonymous>) at behavior.js:116 at Array.forEach (<anonymous>) at behavior.js:111 at Array.forEach (<anonymous>) at Object .applySubtree (behavior.js:93) at Object .apply (behavior.js:76) at behavior.js:71

            Unassigned Unassigned
            akom Alexander Komarov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: