mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 10:36:21 +00:00
skip non web bound actions.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6381 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
14496508d2
commit
f65da7f933
1 file changed
+1
-1
@@ -80,7 +80,7 @@ public abstract class Actionable extends AbstractModelObject {
|
||||
for (Action a : getActions()) {
|
||||
String urlName = a.getUrlName();
|
||||
if(urlName==null)
|
||||
throw new AssertionError("Action "+a+" returned null from the getUrlName() method");
|
||||
continue;
|
||||
if(urlName.equals(token))
|
||||
return a;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user