[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mondrian
Subject:    [Mondrian] Calculation Captions in Virtual Cubes
From:       "Alan Jackson" <AlanJ () symmetrics ! net>
Date:       2008-01-31 19:32:36
Message-ID: 49F9636DB8698B4C8A9DD8F0480D8657B20B48 () piper ! SYMYVR ! local
[Download RAW message or body]

--===============1176275368==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C86440.08D0284E"

This is a multi-part message in MIME format.


Hi
 
The problem is where a calculation in a cube has a caption define in the schema XML. \
When using this calculation in a virtual cube, the specified caption is not returned \
but the default caption is returned. (see thread \
http://forums.pentaho.org/showthread.php?t=53867 \
<https://mail.symmetrics.net/exchweb/bin/redir.asp?URL=http://forums.pentaho.org/showthread.php?t=53867> \
)  
I've got a solution that works in our scenario, but I'm struggling to create a unit \
test to highlight the problem - I want to create unit tests so that I am able to \
submit the change back into the community. The example tests I've seen all end up \
getting the measure through the schema objects rather than getting the caption from \
the axis result sets.  
Are there any examples you guys can point me to that get the captions back for the \
axes that I could use to validate this fix?  
 
The main contention in the fix would be the removal of the "final" from \
MemberBase::getCaption so that it can be overridden in RolapVirtualCubeMeasure - do \
you see this being a big problem?  
TIA
Alan


[Attachment #3 (text/html)]

<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>Hi</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The problem&nbsp;is where a calculation in a cube has a \
caption define in the schema XML. When using this calculation in a virtual cube, the \
specified caption is not returned but the default caption is returned.</FONT></DIV> \
<DIV><FONT face=Arial size=2>(see thread <FONT face=Arial color=#000000 size=2><A \
href="https://mail.symmetrics.net/exchweb/bin/redir.asp?URL=http://forums.pentaho.org/showthread.php?t=53867" \
target=_blank>http://forums.pentaho.org/showthread.php?t=53867</A>)</FONT></FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've got a solution that works in our scenario, but I'm \
struggling to create a unit test to highlight the problem - I want to create unit \
tests so that I am able to submit the change back into the community. The example \
tests I've seen all end up getting the measure through the schema objects rather than \
getting the caption from the axis result sets.</FONT></DIV> <DIV><FONT face=Arial \
size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial size=2>Are there any examples you \
guys can point me to that get the captions back for the axes that I could use to \
validate this fix?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The main contention in the fix would be the removal of \
the "final" from MemberBase::getCaption so that it can be overridden&nbsp;in \
RolapVirtualCubeMeasure - do you see this being a big problem?</FONT></DIV> \
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV> <DIV><FONT face=Arial \
size=2>TIA</FONT></DIV> <DIV><FONT face=Arial \
size=2>Alan</FONT></DIV></DIV></BODY></HTML>



_______________________________________________
Mondrian mailing list
Mondrian@pentaho.org
http://lists.pentaho.org/mailman/listinfo/mondrian

--===============1176275368==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic