-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
I'm one of the maintainers of the Artifactory Plugin. We were approached by a user, complaining about an issue after upgrading to version 2.250 of Jenkins. The issue does seem to be related to the upgrade to 2.250 (or a few versions before that), because it all works with 2.215 but fails with 2.250.
Here's the issue:
The Artifactory Plugin includes the following script in a jelly file:
```
<script>
var selectPlugin = document.getElementById("pluginList");
selectPlugin.onchange = onPluginChange;
var buildBind = <st:bind value="${it}"/>;
var promoteInfoListSize = "${it.PromoteInfoListSize}";
if (promoteInfoListSize == 1)
</script>
```
The loadBuild function corresponds to a method in the java class.
With version 2.250, this function call started raising this warning:
WARNING hudson.security.csrf.CrumbFilter#doFilter: No valid crumb was included in request for /$stapler/bound/3f23eab6-0052-48a8-af63-a931a2e39c52/loadBuild by e. Returning 403.
I added @RequirePOST to the java method, but this does not resolve the issue.
Here are the links to the javascript and java files:
I couldn't find a solution to this issue - your help with this will be greatly appreciated!
Jenkins Team - Anything changed in version 2.250 that can cause this?
Your help will be greatly appreciated!