awired/visuwall — Issue #109: Something is not thread safe in jenkins client
Author: n0rad
Created: 2011-12-10 13:38:20+00:00
State: open
Labels: Plugin side

there is currently a bug #108 in UI causing the url :
http://localhost:8080/visuwall/plugin/getSoftwareInfo?url=http%3A%2F%2Fci.visuwall.awired.net
to be called several times when filling the form.

In this situation on some thread trying to find the plugin to manage this url, plugins say that cannot manage url event if it should.

14:27:52.269 [080-exec-6] DEBUG n.a.v.c.business.service.KarafOsgiService:160 - Plugin JenkinsPlugin{name=Jenkins plugin, version=1.0} can not manage url http://ci.visuwall.awired.net

step to reproduce with breakpoint :
- open the edit form several times on a wall with only good urls
- look with firebug that getSoftwareInfo is called multiple times
- put a breakpoint at KarafOsgiService:165 to catch threads that do not found a plugin to manage the url