|
I added an onException handler in downloadService.post and found it was getting an exception in nslXMLHttpRequest.setRequestHeader (with mac firefox 3.5).. seems the requestHeaders parameter to Ajax.Request is required.. adding requestHeaders:[] seems to resolve the problem. I'll commit a little fix to avoid js error in firefox after successful update.. kohsuke will commit main fix for the issue (crumb object adds bad header with empty value). This will resolve both update of update center data, and refresh of plugin/hudson upgrade status on the /updateCenter/ page. Code changed in hudson Code changed in hudson |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FYI - as a workaround, redownload the JSON files (http://hudson-ci.org/updates/hudson.tasks.Maven.MavenInstaller.json
and the other tools, or http://hudson-ci.org/update-center.json
), and remove everything but the actual {} JSON object. Save the file(s) (removing the .json file extension for the tools, though not for update-center.json) and you should be able to function.