Closed GoogleCodeExporter closed 9 years ago
Found that the /api/rules/show of Sonar 4.2 returns a JSON response with
"description" attribute and not "htmlDesc".
A simple check on null after trying get("htmlDesc") and if null try
"description" will be provide compatibility for at least SonarQube 4.5 and 4.2
on the "Show Rule Info" feature;
Original comment by jlama...@gmail.com
on 25 Nov 2014 at 11:35
Original comment by hmvic...@gmail.com
on 1 Dec 2014 at 5:22
Fix applied as suggested. Will be included in Radar 2.2.
Many thanks for reporting and providing solution.
Original comment by hmvic...@gmail.com
on 3 Dec 2014 at 6:30
Original issue reported on code.google.com by
jlama...@gmail.com
on 25 Nov 2014 at 11:03