I was trying to create a new resource tab (similar to Hotspots, Components, Violations Drilldown etc). I am implementing the RubyRailsPage interface and trying to create a ruby on rails page.
On clicking the new link on the left menu, it leads me a error saying,
ERROR o.s.s.ui.JRubyFacade Fail to render: http://localhost:9000/plugins/resource/1?page=org.sonar.plugins.folderView.FolderViewPage
uninitialized constant Sonar::TreemapBuilder
On line #1 of app/views/plugins/rails_page.erb
1: <%= render :inline => @page.getTemplate() %>
Recently I upgraded to Sonar 3.0 release. The same setup and the code works perfectly on Sonar 2.14..
Please can someone help me with this. I don't know how to debug this error.
Indeed this class does not exist anymore in version 3.
The real problem is that the ruby API is quite limited. In theory any code that is not documented in our wiki or not explicitely maked as API should not be used by plugins. That means that this is our API :
On 13 June 2012 11:20, luckylukein <[hidden email]> wrote:
|Powered by Nabble||Edit this page|