Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Analyticsmajorhave not tried2018-09-27 14:152018-10-26 08:11
ReporterngarciaView Statuspublic 
Assigned Tocaristu 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision455d94f6f8b5
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Toalostale
Regression introduced in release

0039361: Cubes not shown in OB Analytics window after upgrading from a version prior to 1.3.0 if there is a dimension with XML definition

DescriptionCubes not shown in OB Analytics window after upgrading from a version prior to 1.3.0 if there is a dimension with XML definition
Steps To ReproduceAs group admin role:
   Create a new dimension for Sales Details Fact Cube

   As XML Definition field was removed in 1.3.0 due to the following commit, we will assign a value to it through database [^]

update obanaly_cube_dimension
set xmldefinition = '<Dimension caption="Product" table="alias1_73" key="product-key" name="product">
<Attribute name="product-key" visible="false" keyColumn="m_product_id" caption="Product" hasHierarchy="false">
<Annotation name="entity">Product</Annotation>
<MemberFormatter className=""/>
<Attribute name="productLevel" table="alias1_73" keyColumn="m_product_id" caption="Product" visible="true" orderByColumn="name">
<Annotation name="entity">Product</Annotation>
<MemberFormatter className=""/>
where obanaly_cube_dimension_id = '<idOfDimensionCreated>'

As group admin role:
   Go to OB Analytics window and refresh the cubes
   Check no cubes are shown and the log shows:

      Caused by: mondrian.rolap.RolapSchema$MondrianSchemaException: table 'obanaly_time_dimension' not found (in Dimension 'dateDelivered') (at line 901, column 6)
    at mondrian.rolap.RolapSchemaLoaderHandlerImpl.error(
    at mondrian.rolap.RolapSchemaLoader.getPhysRelation(
    at mondrian.rolap.RolapSchemaLoader.getOrCreateDimension(
    at mondrian.rolap.RolapSchemaLoader.createCube(
    at mondrian.rolap.RolapSchemaLoader.loadStage2(
    at mondrian.rolap.RolapSchemaLoader.loadStage1(
    at mondrian.rolap.RolapSchemaLoader.loadStage0(
    at mondrian.rolap.RolapSchemaLoader.createSchema(
    at mondrian.rolap.RolapSchemaPool.get(
    at mondrian.rolap.RolapSchemaPool.get(
    at mondrian.rolap.RolapConnection.<init>(
    at mondrian.rolap.RolapConnection.<init>(
    at mondrian.olap.DriverManager.getConnection(
    at mondrian.olap.DriverManager.getConnection(
    at mondrian.olap4j.MondrianOlap4jConnection.<init>(
    at mondrian.olap4j.FactoryJdbc4Plus$AbstractConnection.<init>(
    at mondrian.olap4j.FactoryJdbc41Impl$MondrianOlap4jConnectionJdbc41.<init>(
    at mondrian.olap4j.FactoryJdbc41Impl.newConnection(
    at mondrian.olap4j.MondrianOlap4jDriver.connect(
    at java.sql.DriverManager.getConnection(
    at java.sql.DriverManager.getConnection(
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2018-10-11 09:30

Repository: erp/pmods/
Changeset: 455d94f6f8b579103d34d26a3cc887f4e077557a
Author: Carlos Aristu <carlos.aristu <at>>
Date: Thu Oct 11 09:22:35 2018 +0200
URL: [^]

Fixes issue 39361: cube not shown if there is a dimension with XML definition

  The xml definition for cubes and dimensions was deprecated[1]. But there was still some code related with that feature which was causing troubles on cube generation if a dimension had an xml definition.

  That code has been removed.

[1] [^]

M src/org/openbravo/client/analytics/mondrian/
alostale (developer)
2018-10-26 08:11


- Issue History
Date Modified Username Field Change
2018-09-27 14:15 ngarcia New Issue
2018-09-27 14:15 ngarcia Assigned To => platform
2018-09-27 14:16 ngarcia Issue Monitored: networkb
2018-10-11 09:28 caristu Assigned To platform => caristu
2018-10-11 09:30 hgbot Checkin
2018-10-11 09:30 hgbot Note Added: 0107238
2018-10-11 09:30 hgbot Status new => resolved
2018-10-11 09:30 hgbot Resolution open => fixed
2018-10-11 09:30 hgbot Fixed in SCM revision => [^]
2018-10-11 09:31 caristu Review Assigned To => alostale
2018-10-26 08:11 alostale Note Added: 0107606
2018-10-26 08:11 alostale Status resolved => closed

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker