Filter component doesn't work for dimensions not having attributes

Issue #145 resolved
Scott Wiltshire created an issue

Describe the bug
The filter subnm list fails for dimensions which do not have any attributes (}ElementAttributes_ cube doesn’t exist for dimension). The “warning” icon is displayed in the filter subnm and no element list is generated. The user must launch subset editor from the subnm and make a selection there before the widget(s) will load.

To Reproduce
Steps to reproduce the behavior:

  1. Create a widget with a cube as a source where one or more dimensions don’t have any attributes
  2. Assign a dimension without attributes to global filter or widget filter
  3. Set all remaining dimensions (such that SELECT MDX should be successful and widget should load with data)
  4. Navigate to the dashboard
  5. Widget doesn’t load. Filter subnm shows warning icon

Expected behavior
There should be no dependency on }ElementAttributes_ cube for filter subnm control to work properly!

Component
Filterbar

Version
2.5.2.2

Screenshots

Comments (3)

  1. Log in to comment