Anyone have any idea as to why makeStaplerProxy() would return 404 even
though <st:bind> is pointing to a valid object? Running Jenkins 1.524 with
no plugins (except the one I'm developing), my Jelly...
<script type="text/javascript">
var myProxyObject = <st:bind value="${instance.proxyObject}" />;
myProxyObject.print("this is a test", function(result) {
document.getElementById("myProxyDiv").innerHTML = result.responseObject();
});
</script>
...is generating this JS...
var myProxyObject =
makeStaplerProxy('/$stapler/bound/e055be94-25cb-482a-80f4-c4ffa83feace','d1fb6d44-de41-490e-8d11-6a28bc0017ca',['print']);
myProxyObject.print("this is a test", function(result) {
document.getElementById("myProxyDiv").innerHTML = result.responseObject();
});
...and Chrome is reporting the following three errors...
POST
http://localhost:8080/$stapler/bound/e055be94-25cb-482a-80f4-c4ffa83feace/print
404 (Not Found) prototype.js:1585
POST
http://localhost:8080/$stapler/bound/2959dda4-38b9-4b4e-aa9b-44485626c20d/render
404 (Not Found) prototype.js:1585
POST
http://localhost:8080/$stapler/bound/e8fedb43-48c1-45be-ad86-230831646482/render
404 (Not Found)
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.