Permalink
Browse files

Merge pull request #16 from rodikal/master

JENKINS-15482 JENKINS-14660 fix iteration logic in while loop
  • Loading branch information...
2 parents 0b6562d + da8a4a9 commit 491dbea8dfc14a2269b01c3c90b06ac046d3d72b @jenkins-pipeline-code jenkins-pipeline-code committed Oct 11, 2012
@@ -31,6 +31,7 @@
ViewGroup owner = view.getOwner();
while (owner instanceof hudson.plugins.nested_view.NestedView) {
viewNames.add(((hudson.plugins.nested_view.NestedView) owner).getViewName());
+ owner = ((hudson.plugins.nested_view.NestedView) owner).getOwner();
}
Collections.reverse(viewNames);
viewName = StringUtils.join(viewNames, "/view/");

0 comments on commit 491dbea

Please sign in to comment.