So is Mondrian 4 included in the next BI Server release then? :P<br><br><div class="gmail_quote">On 14 February 2013 06:31, Julian Hyde <span dir="ltr">&lt;<a href="mailto:jhyde@pentaho.com" target="_blank">jhyde@pentaho.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Short answer: Upgrade to 4. DimensionUsage is obsolete.<div><span class="HOEnZb"><font color="#888888"><br>

<div>
<div>Julian</div><br>

</div>
<br></font></span><div><div><div class="h5"><div>On Feb 13, 2013, at 4:50 PM, Paul Stoellberger &lt;<a href="mailto:p.stoellberger@gmail.com" target="_blank">p.stoellberger@gmail.com</a>&gt; wrote:</div><br></div></div><blockquote type="cite">

<div><div class="h5"><div style="word-wrap:break-word">Ok I guess I was a bit too quick.<div><br></div><div>Using the caption attribute will actually cause some more errors: </div><div><br></div><div><div>01:29:55,794 ERROR [RolapCube] RolapCube.lookupChild: In cube &quot;Sales&quot; use of unaliased Dimension name &quot;[Store]&quot; rather than the alias name &quot;StoreUsage&quot; </div>

<div>mondrian.olap.MondrianException: Mondrian Error:RolapCube.lookupChild: In cube &quot;Sales&quot; use of unaliased Dimension name &quot;[Store]&quot; rather than the alias name &quot;StoreUsage&quot; </div><div><span style="white-space:pre-wrap">        </span>at mondrian.rolap.RolapCube.lookupChild(RolapCube.java:2657)</div>

<div><br></div><div><br></div><div>There are a few JIRAs about it:</div><div><br></div><div><a href="http://jira.pentaho.com/browse/MONDRIAN-399" target="_blank">http://jira.pentaho.com/browse/MONDRIAN-399</a> - suggests it works and then there are new rules in place (cant find such rules in the code)</div>

<div><a href="http://jira.pentaho.com/browse/MONDRIAN-646" target="_blank">http://jira.pentaho.com/browse/MONDRIAN-646</a> - actually filed by me 3.5 years ago</div><div><br></div><div>Whats your take on this?</div><div>
I think the used dimension caption should just use the name attribute and therefore have the same method as a normal dimension.</div>
<div>Julian, you suggested a few different ways how this should be handled in those JIRAs.. if you can point me in the right direction I&#39;m happy to send a pull request</div><div><br></div><div>-Paul</div></div><div><br>

</div><div><br></div><div><div>On Feb 14, 2013, at 1:27 AM, Paul Stoellberger wrote:</div><br><blockquote type="cite">Hi,<br><br>I was just trying to fix an issue a number of people were complaining about in mondrian.<br>

When using DimensionUsage it doesn&#39;t apply the expected caption, which would be the name of the DimensionUsage in this case.<br><br>I didn&#39;t know you could set the caption attribute in DimensionUsage as well<br><br>

  &lt;DimensionUsage name=&quot;StoreUsage&quot; caption=&quot;StoreUsage&quot; source=&quot;Store&quot; foreignKey=&quot;store_id&quot;/&gt;<br><br>This works just fine.<br><br>However, like most people I would expect the caption of a DimensionUsage to be the name of the Usage and not the underlying Dimension.<br>

This is due to the constructor of RolapCubeDimension (the description part seems a bit odd.. checking cubeDim.caption != null instead of description)<br><br>Do you agree that the DimensionUsage caption should be the name in case it is not set explicitly?<br>

<br><br>-Paul<br><br></blockquote></div><br></div></div></div><div class="im">_______________________________________________<br>Mondrian mailing list<br><a href="mailto:Mondrian@pentaho.org" target="_blank">Mondrian@pentaho.org</a><br>

<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br></div></blockquote></div><br></div></div><br>_______________________________________________<br>


Mondrian mailing list<br>
<a href="mailto:Mondrian@pentaho.org">Mondrian@pentaho.org</a><br>
<a href="http://lists.pentaho.org/mailman/listinfo/mondrian" target="_blank">http://lists.pentaho.org/mailman/listinfo/mondrian</a><br>
<br></blockquote></div><br>