[Mondrian] RowsetDefinition.java - possible minor bug

Michele Rossi michele.rossi at gmail.com
Fri May 20 13:18:07 EDT 2011


Hi,
if you look at line 4527 of RowsetDefinition.java
(mondrian.xmla.RowsetDefinition) you will see


row.set(DefaultMember.name, hierarchy.getDefaultMember());

which I think should be

row.set(DefaultMember.name, hierarchy.getDefaultMember().getUniqueName());

The current implementation is calling toString() on the default member so it
only works if toString() is the same as getUniqueName().

thanks,
Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pentaho.org/pipermail/mondrian/attachments/20110520/b88e2bb8/attachment.html 


More information about the Mondrian mailing list