• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Platform: PC, OS: Windows XP

      In Hudson ver. 1.270:

      fail to create new view: 'OK' button is disabled, with or without typing in view
      name

          [JENKINS-2809] fail to create new view

          Alan Harder added a comment -

          couldn't reproduce this problem.. you have to both enter a view name AND pick a
          view type (List View or My View radiobutton).. then you can click OK. reopen
          and provide more details if you still can't create a view, thanks.

          Alan Harder added a comment - couldn't reproduce this problem.. you have to both enter a view name AND pick a view type (List View or My View radiobutton).. then you can click OK. reopen and provide more details if you still can't create a view, thanks.

          henrywu added a comment -

          In Firefox 3.0.5, the 'OK' button is always disabled, but I could create new
          view by just type 'enter' on keyboard.

          henrywu added a comment - In Firefox 3.0.5, the 'OK' button is always disabled, but I could create new view by just type 'enter' on keyboard.

          Alan Harder added a comment -

          doubtful anything will be done without more details... works for me, same
          browser/version, both mac and pc.

          Alan Harder added a comment - doubtful anything will be done without more details... works for me, same browser/version, both mac and pc.

          Alan Harder added a comment -

          try shift-reload of that page and see if that makes any difference. you do see
          the radiobuttons for List View and My View, right? any messages in your Error
          Console?

          Alan Harder added a comment - try shift-reload of that page and see if that makes any difference. you do see the radiobuttons for List View and My View, right? any messages in your Error Console?

          henrywu added a comment -

          Not sure what's wrong with the config, even in my IE7, the 'OK' is always
          disabled, shift-reload don't help. Anyway I could create new view by hit 'Enter'
          key. Feel free to close it if you could not reproduce it. Thanks!

          henrywu added a comment - Not sure what's wrong with the config, even in my IE7, the 'OK' is always disabled, shift-reload don't help. Anyway I could create new view by hit 'Enter' key. Feel free to close it if you could not reproduce it. Thanks!

          bbarlow added a comment -

          For me (server is Hudson 1.273 on RHEL 5) from my Windows XP workstation, using
          both IE 7 and Firefox 3.0.5, my 'New View' page consists of the 'View Name' text
          area, one 'List View' radio button, and a greyed-out 'OK' button. No matter what
          I type, the 'OK' button is always greyed-out, and I never see the 'My View'
          radio button option. (What is that, anyway?) Like henrywu, I can create views
          (with the 'List View' option) by typing a view name and hitting Enter.

          bbarlow added a comment - For me (server is Hudson 1.273 on RHEL 5) from my Windows XP workstation, using both IE 7 and Firefox 3.0.5, my 'New View' page consists of the 'View Name' text area, one 'List View' radio button, and a greyed-out 'OK' button. No matter what I type, the 'OK' button is always greyed-out, and I never see the 'My View' radio button option. (What is that, anyway?) Like henrywu, I can create views (with the 'List View' option) by typing a view name and hitting Enter.

          quentinburley added a comment -
              • Issue 2830 has been marked as a duplicate of this issue. ***

          quentinburley added a comment - Issue 2830 has been marked as a duplicate of this issue. ***

          quentinburley added a comment -

          Issue occurs for me with
          server: windows 2003 Hudson 1.273 installed as system service

          browser: windows vista internet explorer 7.0
          and
          browser: windows vista firefox 3.0.5

          I notice the same situation as bbarlow and henrywu. The "OK" button is never
          clickable evan if I enter in text and select the 'List View' option. "I can
          create views
          (with the 'List View' option) by typing a view name and hitting Enter."

          quentinburley added a comment - Issue occurs for me with server: windows 2003 Hudson 1.273 installed as system service browser: windows vista internet explorer 7.0 and browser: windows vista firefox 3.0.5 I notice the same situation as bbarlow and henrywu. The "OK" button is never clickable evan if I enter in text and select the 'List View' option. "I can create views (with the 'List View' option) by typing a view name and hitting Enter."

          There are multiple bug reports on this issue, so there must be some bug.
          It's just that we are failing to reproduce it here.

          If anyone seeing this problem has firebug installed, please check if you are
          seeing any JavaScript error.

          Kohsuke Kawaguchi added a comment - There are multiple bug reports on this issue, so there must be some bug. It's just that we are failing to reproduce it here. If anyone seeing this problem has firebug installed, please check if you are seeing any JavaScript error.

          quentinburley added a comment -

          As requested by Kohsuke I present the firebug output observed with firefox 3.0.5

          [Exception... "Component is not available" nsresult: "0x80040111
          (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
          file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js ::
          sss_saveState :: line 1908" data: no]
          file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
          Line 1908

          quentinburley added a comment - As requested by Kohsuke I present the firebug output observed with firefox 3.0.5 [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1908" data: no] file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js Line 1908

          Alan Harder added a comment -

          bbarlow provided the key... the "My View" choice is not present, which happens
          if your selected authorization strategy is not project-specific matrix
          permissions. I can now reproduce the bug, and will look into the fix.

          Alan Harder added a comment - bbarlow provided the key... the "My View" choice is not present, which happens if your selected authorization strategy is not project-specific matrix permissions. I can now reproduce the bug, and will look into the fix.

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/resources/hudson/model/Hudson/newView.jelly
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=14516
          Log:
          [FIXED JENKINS-2809] Ok button on New View page was always disabled
          when not using project-specific permissions. Fixed in 1.276.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/resources/hudson/model/Hudson/newView.jelly trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=14516 Log: [FIXED JENKINS-2809] Ok button on New View page was always disabled when not using project-specific permissions. Fixed in 1.276.

          Alan Harder added a comment -
              • Issue 2854 has been marked as a duplicate of this issue. ***

          Alan Harder added a comment - Issue 2854 has been marked as a duplicate of this issue. ***

          Alan Harder added a comment -
              • Issue 2868 has been marked as a duplicate of this issue. ***

          Alan Harder added a comment - Issue 2868 has been marked as a duplicate of this issue. ***

            mindless Alan Harder
            henrywu henrywu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: