whitemarlin Posted September 13, 2011 Share Posted September 13, 2011 I believe there is a bug in 3.7.0 and 4.1.0 (at least) preventing successful creation of a Mondrian schema through a web service call.The file applicationContext-web-services.xml appears to list the file types for which FileResourceHandler will be used (along with other handlers). The last entry (a late addition?) is 'olapMondrianSchema', also known as ResourceDescriptor.TYPE_MONDRIAN_SCHEMA. But FileResourceHandler does not deal with this file type; it deals with all the others listed in applicationContext-web-services.xml, but not this one. (It also deals with 'xml', which is not listed--that may be another bug.)The result of this omission appears to be that if a Mondrian schema is created through a web service call, the corresponding row in the JIFileResource table has its file_type column set to null, which causes problems downstream.I believe the attached patch fixes this bug. Link to comment Share on other sites More sharing options...
whitemarlin Posted September 14, 2011 Author Share Posted September 14, 2011 I created http://jasperforge.org/projects/jasperserver/tracker/view.php?id=5445 to track this issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now