Skip to content
Permalink
Browse files

[FIXED JENKINS-22856] Uses AbstractProject instead of Item in Descrip…

…tor.doCheckProjects. It can be get confused with JobPropertyImpl.getJobOverrides or /lib/form/withCustomDescriptorByName.
  • Loading branch information...
ikedam committed May 19, 2014
1 parent 6ffdde8 commit 44f814fef97853ba6887132069a041b97a31274d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/parameterizedtrigger/BuildTriggerConfig.java
@@ -530,7 +530,7 @@ public String getDisplayName() {
*
* Copied from hudson.tasks.BuildTrigger.doCheck(Item project, String value)
*/
public FormValidation doCheckProjects(@AncestorInPath Item project, @QueryParameter String value ) {
public FormValidation doCheckProjects(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String value ) {
// Require CONFIGURE permission on this project
if(!project.hasPermission(Item.CONFIGURE)){
return FormValidation.ok();

0 comments on commit 44f814f

Please sign in to comment.
You can’t perform that action at this time.