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

New username/password credentials screen rendering issue

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If you add a new Username/Password credential, the "OK" button obscures the fields. This happens only after you change the credentials type from something else to Username/Password.

      Steps:

      1. Click Credentials link on left
      2. Click Global Credentials
      3. Click Add Credentials
      4. Change the 'Kind' to "Username with Password"

      You can work around this by scrolling the screen (perhaps by using pageup/pagedown).

      The root issue seems to be that "#bottom-sticker" in hudson-behavior.js needs to attach adjustSticker() on ajax-type events, such as those triggered by changing the dropDownList.

        Attachments

          Issue Links

            Activity

            Hide
            tfennelly Tom FENNELLY added a comment -

            I had a look at this using the latest code from master and it looks fine to me. Screenshot: https://www.dropbox.com/s/0n4dxqn81u48vbb/Screenshot%202014-09-15%2010.39.45.png?dl=0

            @Ryan: Your screenshot looks odd in that the OK button is the old style. Note the difference in the styles between the 2 screenshots.

            Show
            tfennelly Tom FENNELLY added a comment - I had a look at this using the latest code from master and it looks fine to me. Screenshot: https://www.dropbox.com/s/0n4dxqn81u48vbb/Screenshot%202014-09-15%2010.39.45.png?dl=0 @Ryan: Your screenshot looks odd in that the OK button is the old style. Note the difference in the styles between the 2 screenshots.
            Hide
            recampbell Ryan Campbell added a comment -

            It seems this only reproduces when using hpi:run

            Show
            recampbell Ryan Campbell added a comment - It seems this only reproduces when using hpi:run
            Hide
            danielbeck Daniel Beck added a comment - - edited

            I can reproduce this every time on the form mentioned. In my case, Username with Password is the default credentials type, and changing it fixes the form (after first moving the button so it obscures part of the form for a moment).

            Jenkins 1.581-SNAPSHOT running regularly (no hpi:run)
            Credentials Plugin 1.16.1
            CentOS 6 server
            OS X Firefox 32.0.2 client

            Show
            danielbeck Daniel Beck added a comment - - edited I can reproduce this every time on the form mentioned. In my case, Username with Password is the default credentials type, and changing it fixes the form (after first moving the button so it obscures part of the form for a moment). Jenkins 1.581-SNAPSHOT running regularly (no hpi:run) Credentials Plugin 1.16.1 CentOS 6 server OS X Firefox 32.0.2 client
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Would love to get this fixed. Still is an issue for me in at least 1.609

            Show
            stephenconnolly Stephen Connolly added a comment - Would love to get this fixed. Still is an issue for me in at least 1.609
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/update.jelly
            src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/configure.jelly
            src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/newCredentials.jelly
            src/main/resources/com/cloudbees/plugins/credentials/GlobalCredentialsConfiguration/index.jelly
            http://jenkins-ci.org/commit/credentials-plugin/a5e5672eb75b1ca6ec53493f926a885e94d9df69
            Log:
            JENKINS-24662 Hacky work-around for this issue while we wait for a core fix

            Compare: https://github.com/jenkinsci/credentials-plugin/compare/d4e67c3837f4...a5e5672eb75b

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/CredentialsWrapper/update.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/configure.jelly src/main/resources/com/cloudbees/plugins/credentials/CredentialsStoreAction/DomainWrapper/newCredentials.jelly src/main/resources/com/cloudbees/plugins/credentials/GlobalCredentialsConfiguration/index.jelly http://jenkins-ci.org/commit/credentials-plugin/a5e5672eb75b1ca6ec53493f926a885e94d9df69 Log: JENKINS-24662 Hacky work-around for this issue while we wait for a core fix Compare: https://github.com/jenkinsci/credentials-plugin/compare/d4e67c3837f4...a5e5672eb75b
            Hide
            stephenconnolly Stephen Connolly added a comment -

            The hacky fix works...

            Show
            stephenconnolly Stephen Connolly added a comment - The hacky fix works...

              People

              Assignee:
              tfennelly Tom FENNELLY
              Reporter:
              recampbell Ryan Campbell
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: