Hi

Jpivot view is correct when I am running my cube on one role, but it is
behaving weirdly and uncorrectly when I include one more role.

1. Following roles I have defined in Schema

<Role name="ceo">
<SchemaGrant access="none">
<CubeGrant cube="Quadrant Analysis" access="all">
<DimensionGrant dimension="Department" access="none">
</DimensionGrant>
</CubeGrant>
</SchemaGrant>
</Role>
<Role name="cto">
<SchemaGrant access="none">
<CubeGrant cube="Quadrant Analysis" access="all">
<DimensionGrant dimension="Region" access="none">
</DimensionGrant>
</CubeGrant>
</SchemaGrant>
</Role>

2. I am using role mapper while enabling mondrian role mapper in
pentahoObjects.spring.XML

3. I included both of these roles in connection string (in datasources.xml)
as following:

<Catalog name="SampleData">

<DataSourceInfo>Provider=mondrian;DataSource=SampleData;Role=ceo;Role=cto</DataSourceInfo>

<Definition>solution:steel-wheels/analysis/SampleData.mondrian.xml</Definition>
</Catalog>

4. When running it Jpivot is showing nothign except the toolbar, I looked at
MDx query in MDx editor and I found one of dimension which is restricted was
appearing with memeber NULL. I removed this dimension from query and submit
it, it run successfully and started showing desired result. How it would be
make properly, presenting pivot view correctly.

5. Moreover, roles are not reflected in saved pivot views (Creating a view
from Jpivot and saving it which create a xacton).

I have attached the schema.

Help would be very much appreciated.

Thanks and Regards
Tushar

_______________________________________________
Mondrian mailing list
Mondrian (AT) pentaho (DOT) org
http://lists.pentaho.org/mailman/listinfo/mondrian