-
Bug
-
Resolution: Fixed
-
Major
When the build queue widget renders for an anonymous user, and default view includes some DISCOVER-able jobs, rendering fails with WARNING: Caught exception evaluating: it.queueItems. Reason: java.lang.reflect.InvocationTargetException
evaluating queueItems, ListView.getItems() iterates on job names and calls getItem(name). This one check for DISCOVER and throws an AccessDeniedException that isn't caught, resulting in some null value passed to jelly.
Code changed in jenkins
User: Nicolas De Loof
Path:
core/src/main/java/hudson/model/ListView.java
http://jenkins-ci.org/commit/jenkins/629b42a309d04cdaea2808d2c1a56560aea062ff
Log:
[FIXED JENKINS-16682] getItem(name) can throw an AccessDeniedException
so iterate on itemGroup.getItems and filter by job names
–
You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.