Basically I did stupid thing - I tried to add new datasource to the dashboard. It was function that returns "Double precision" type variable named "Value". I copied the definition of the function from the example database and then changed the fields.
After I added that function, despite of the fact that I make a comment "TYPE: function" there, that function did not show up in the list of the datasources.
I restarted the tomcat and got to the management interface. Now I'm getting error when interface trying to load.
Call: services/json/dashboard/fulllist --------------------------------------- Error: org.cmdbuild.servlets.json.management.JsonSerializationException: org.codehaus.jackson.map.JsonMappingException: (was java.lang.UnsupportedOperationException) (through reference chain: org.cmdbuild.servlets.json.management.JsonResponse["response"]->org.cmdbuild.servlets.json.serializers.JsonDashboardListResponse["dataSources"]->java.util.ArrayList[0]->org.cmdbuild.servlets.json.serializers.JsonDataSource["output"])
at org.cmdbuild.servlets.json.management.JsonResponse.toString(JsonResponse.java:56) at org.cmdbuild.servlets.JSONDispatcher.writeResponseData(JSONDispatcher.java:274) at org.cmdbuild.servlets.JSONDispatcher.writeResponse(JSONDispatcher.java:204) at org.cmdbuild.servlets.JSONDispatcher.dispatch(JSONDispatcher.java:99) at org.cmdbuild.servlets.JSONDispatcher.doGet(JSONDispatcher.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.cmdbuild.filters.AuthFilter.doFilter(AuthFilter.java:158)
I deleted the function, but it did not help to resolve the issue. There are no Dashboards menu entry in management interface anymore.
I deleted all rows from _Dashboards table but it did not help.
How can I resolve this one?
Will be really appreciated for help.