#64 XmlaOlap4jElement should not require description

open
nobody
None
5
2012-10-08
2011-09-26
Vincent Heet
No

I have issues when running unit tests on Olap4j because of assertion errors. After debugging I found out that the constructer parameter description is NULL. Which causes an assertion error on line 35 of XmlaOlap4jElement.This behavior occurs when the object of type XmlaOlap4jProperty (superclass of XmlaOlap4jElement) is created on line 1747 class XmlaOlap4jConnection in nested class PropertyHandler. In the handle method of PropertyHandler the class searches the description tag in the row (Element). But the this description can be null according to this XMLA specification of Microsoft. http://msdn.microsoft.com/en-us/library/ms126038.aspx

"DESCRIPTION
DBTYPE_WSTR
A human-readable description of the level. NULL if no description exists."

I suggest the description parameter should be made optional and not required.
The response I get from MS SSAS 2008 R2 is attached in the file.

Discussion

  • Vincent Heet
    Vincent Heet
    2011-09-26

    Response from MS SSAS 2008 R2 cube

     
    Attachments