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

Editing the "description" field of a global credential deletes the "usage" history.

    Details

    • Similar Issues:

      Description

      Jenkins ver. 2.46.2
      Credentials Plugin 2.1.13
      Blue Ocean 1.0.1

      Steps to reproduce:
      1. create a credential
      2. use that credential in you projects (run builds)
      3. go to "Credentials"
      4. select the entry for editing and click on "update"
      5. change the "description" field
      6. click on "save"

      Effect:
      "Usage" history will be erased.

      Expected:
      "Usage" history should be still there - because nothing relevant has changed.

      Meta item data:
      Store = Jenkins
      Scope = (global)
      "ID", "Username" and "Password" field has not been changed.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java
            http://jenkins-ci.org/commit/credentials-plugin/d2abc562900b272703a953d4c69f99629bfc84b5
            Log:
            [FIXED JENKINS-44171] Editing the "description" field of a global credential deletes the "usage" history.

            • Side-effect, all existing usage tracking will now be lost
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java http://jenkins-ci.org/commit/credentials-plugin/d2abc562900b272703a953d4c69f99629bfc84b5 Log: [FIXED JENKINS-44171] Editing the "description" field of a global credential deletes the "usage" history. Side-effect, all existing usage tracking will now be lost
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/com/cloudbees/plugins/credentials/CredentialsProvider.java
            src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java
            http://jenkins-ci.org/commit/credentials-plugin/3817b35f7d05943dc98b00d506cc8b5a9b45c8cb
            Log:
            [FIXED JENKINS-44171] Editing the "description" field of a global credential deletes the "usage" history.

            • Side-effect, all existing usage tracking will now be lost
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/com/cloudbees/plugins/credentials/CredentialsProvider.java src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java http://jenkins-ci.org/commit/credentials-plugin/3817b35f7d05943dc98b00d506cc8b5a9b45c8cb Log: [FIXED JENKINS-44171] Editing the "description" field of a global credential deletes the "usage" history. Side-effect, all existing usage tracking will now be lost

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                christian_weiss_simplicity Christian Weiss
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: