Skip to content

Commit

Permalink
Resolving issue JENKINS-13517 caused by using DisplayName that preven…
Browse files Browse the repository at this point in the history
…ted copying of projects with a Display Name set.
  • Loading branch information
etherfoundry committed Feb 14, 2014
1 parent 6cfffe4 commit 79bc4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/hudson/plugins/copyProjectLink/CopyAction.java
Expand Up @@ -16,15 +16,15 @@ public CopyAction(T item) {
}

public String getCloneName() {
return item.getDisplayName() + "-clone";
return item.getName() + "-clone";
}

public T getItem() {
return item;
}

public String getItemName() {
return item.getDisplayName();
return item.getName();
}

public String getIconFileName() {
Expand Down

0 comments on commit 79bc4c4

Please sign in to comment.