Jump to content
We've recently updated our Privacy Statement, available here ×

Bug in creating Mondrian schema through web service?


whitemarlin

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...