QualInsight / qualinsight-plugins-sonarqube-smell

Code Smells plugin for SonarQube and companion Java library
GNU Lesser General Public License v3.0
47 stars 13 forks source link

Conflict between Google's jsapi and SQ 5.1.2 usage of requirejs #25

Closed pawlakm closed 8 years ago

pawlakm commented 8 years ago

Adding the WTF widget to SQ 5.1.2 dashboard causes UI unresponsiveness + menus disappear due to a conflict between jsapi and requirejs.

See https://groups.google.com/forum/#!topic/sonarqube/dif1UN6Xq5g

Error message:

Error: Mismatched anonymous define() module: function (){return $}
http://requirejs.org/docs/errors.html#mismatch
darequire.js:1:688
krequire.js:1:2896
rrequire.js:1:4165
irequire.js:1:10009
requirejsrequire.js:1:12732
(anonymous function)259:1155
pawlakm commented 8 years ago

Workaround: falling back to jsapi version 1.0 seems to do the trick