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

Error editing project permissions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • matrix-auth-plugin
    • None
    • Jenkins 2.277.4

    Description

      I have setup project-based security on my projects. I have been able to add and remove permissions in the past, although it's been a long time (years) since I tried to remove permissions. Today I tried to remove permissions and nothing happens. Clicking Save or Apply have no effect. Leaving the page gives me the warning that data may not be saved. Visiting the configuration page again shows no changes to the permissions.

      When the page loads I see the following the javascript console

       hudson-behavior.js:1495 Unable to find nearby url
      (anonymous) @ hudson-behavior.js:1495
      (anonymous) @ hudson-behavior.js:47
      (anonymous) @ prototype.js:853
      each @ prototype.js:852
      refillOnChange @ hudson-behavior.js:1492
      (anonymous) @ select.js:104
      (anonymous) @ behavior.js:116
      (anonymous) @ behavior.js:111
      applySubtree @ behavior.js:93
      (anonymous) @ select.js:280
      setTimeout (async)
      (anonymous) @ select.js:274
      behavior.js:119 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:2472
      (anonymous) @ configure:7
      behavior.js:119 TypeError: Cannot read property 'next' of undefined
          at findEnd (hudson-behavior.js:820)
          at hudson-behavior.js:1151
          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
      (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:2472
      (anonymous) @ configure:7
      behavior.js:119 TypeError: Cannot read property 'hasClassName' of undefined
          at hudson-behavior.js:1188
          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:2472
      (anonymous) @ configure:7
      behavior.js:119 TypeError: Cannot read property 'makeInnerVisible' of undefined
          at updateOptionalBlock (hudson-behavior.js:1570)
          at hudson-behavior.js:1209
          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
      (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:2472
      (anonymous) @ configure:7
      hudson-behavior.js:1495 Unable to find nearby url
      (anonymous) @ hudson-behavior.js:1495
      (anonymous) @ hudson-behavior.js:47
      (anonymous) @ prototype.js:853
      each @ prototype.js:852
      refillOnChange @ hudson-behavior.js:1492
      (anonymous) @ select.js:104
      (anonymous) @ behavior.js:116
      (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:2472
      (anonymous) @ configure:7
      

      I do not see any messages show up when clicking on the checkboxes nor when I click the save and apply buttons.

      I just tried adding a user or checking more permission boxes and I see the same behavior, nothing is saved.

      Editing the global security works fine.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jpschewe jpschewe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: