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

When copying folder, display names of contained jobs are gratuitously cleared

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      DisplayNameListener.onCopied clears the display name of a job after it has been copied, which only makes sense for a copy within the same item group.

        Attachments

          Issue Links

            Activity

            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2554
            JENKINS-18074 Updated comment. (Revision 73706a45bce4bdce211f01a16bc8937f9c811bce)

            Result = SUCCESS
            Jesse Glick : 73706a45bce4bdce211f01a16bc8937f9c811bce
            Files :

            • core/src/main/java/hudson/model/DisplayNameListener.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2554 JENKINS-18074 Updated comment. (Revision 73706a45bce4bdce211f01a16bc8937f9c811bce) Result = SUCCESS Jesse Glick : 73706a45bce4bdce211f01a16bc8937f9c811bce Files : core/src/main/java/hudson/model/DisplayNameListener.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/model/DisplayNameListener.java
            test/src/main/java/org/jvnet/hudson/test/MockFolder.java
            test/src/test/java/hudson/model/DisplayNameTest.java
            http://jenkins-ci.org/commit/jenkins/c0102e771ea5164cc896e3a7cf08df732c85a5fb
            Log:
            [FIXED JENKINS-18074] Avoid clearing AbstractItem.displayName when the new parent ItemGroup is different.
            (cherry picked from commit 04e2ccade6c831578bdd32b5e5982cf150f635f4)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/DisplayNameListener.java test/src/main/java/org/jvnet/hudson/test/MockFolder.java test/src/test/java/hudson/model/DisplayNameTest.java http://jenkins-ci.org/commit/jenkins/c0102e771ea5164cc896e3a7cf08df732c85a5fb Log: [FIXED JENKINS-18074] Avoid clearing AbstractItem.displayName when the new parent ItemGroup is different. (cherry picked from commit 04e2ccade6c831578bdd32b5e5982cf150f635f4)
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/test/java/hudson/model/StubJob.java
            http://jenkins-ci.org/commit/jenkins/4dccb6e911a894246ae56de1452ffa2521f061d9
            Log:
            JENKINS-18074 Fixed unit test by making StubJob.getParent forgiving.
            https://ci.jenkins-ci.org/job/jenkins_main_trunk/2545/testReport/junit/hudson.model/DisplayNameListenerTest/testOnCopied/
            (cherry picked from commit 8aed6623900e8827b587389e6af7958f05ecab87)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/test/java/hudson/model/StubJob.java http://jenkins-ci.org/commit/jenkins/4dccb6e911a894246ae56de1452ffa2521f061d9 Log: JENKINS-18074 Fixed unit test by making StubJob.getParent forgiving. https://ci.jenkins-ci.org/job/jenkins_main_trunk/2545/testReport/junit/hudson.model/DisplayNameListenerTest/testOnCopied/ (cherry picked from commit 8aed6623900e8827b587389e6af7958f05ecab87)
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            core/src/main/java/hudson/model/DisplayNameListener.java
            http://jenkins-ci.org/commit/jenkins/a8e3b4f8ed03d1bc7d4e0eee695710cbd5de4b19
            Log:
            JENKINS-18074 Updated comment.

            (cherry picked from commit 73706a45bce4bdce211f01a16bc8937f9c811bce)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/DisplayNameListener.java http://jenkins-ci.org/commit/jenkins/a8e3b4f8ed03d1bc7d4e0eee695710cbd5de4b19 Log: JENKINS-18074 Updated comment. (cherry picked from commit 73706a45bce4bdce211f01a16bc8937f9c811bce)
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            test/src/main/java/org/jvnet/hudson/test/MockFolder.java
            http://jenkins-ci.org/commit/jenkins-test-harness/15800d106fcfc115dfd3214f7388ad2b576f02f0
            Log:
            [FIXED JENKINS-18074] Avoid clearing AbstractItem.displayName when the new parent ItemGroup is different.
            Originally-Committed-As: 04e2ccade6c831578bdd32b5e5982cf150f635f4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: test/src/main/java/org/jvnet/hudson/test/MockFolder.java http://jenkins-ci.org/commit/jenkins-test-harness/15800d106fcfc115dfd3214f7388ad2b576f02f0 Log: [FIXED JENKINS-18074] Avoid clearing AbstractItem.displayName when the new parent ItemGroup is different. Originally-Committed-As: 04e2ccade6c831578bdd32b5e5982cf150f635f4

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: