Description
The Dynamic Report block does not work with Workflow Attributes.
Steps to Reproduce
- Create a Data View (applies to Workflow) with filters for any workflow attribute
- Create a Report on the Data View. Column Selection is arbitrary.
- Add the Dynamic Report block to a page. In the configuration, select the report from step 2.
- Make all selected Attribute and Property Filters Visible and Configurable in the Block Configuration.
- See below for error behavior.
Expected behavior:
The page should load to show all filters marked "Visible" in the settings. Attribute-based filters should show selection mechanisms (i.e. a drop down list) based on the data type of the attribute. Clicking the "Reset Filters" link should clear the adjusted selections, but leave the form unchanged. Submitting the form via the "Filter" button should apply the selected filters from both properties and attributes to the underlying DataView and return the correct results through the Report.
Actual behavior:
On load, the page shows the "Toggle" checkboxes for all attribute filters. However, the "Configuration" selection mechanisms are not shown. Clicking the "Reset Filters" link seems to correctly load the form (the Attribute Filter selects then show). Submitting the form via the "Filter" button applies Property-based filters to the results, but no attribute filters. The block reloads having cleared selections on attribute filters. The label for the attribute filters "Toggle" displays nonsense (perhaps an ID) such as "51fe9641-fb8f-41bf-b09e-235900c3e53e".
Versions
- Rock Version: Rock McKinley 7.5 (1.7.5.59) and Demo Site (8.4)
- Client Culture Setting: en-US
┆Attachments: image.png
Description
The Dynamic Report block does not work with Workflow Attributes.
Steps to Reproduce
Expected behavior:
The page should load to show all filters marked "Visible" in the settings. Attribute-based filters should show selection mechanisms (i.e. a drop down list) based on the data type of the attribute. Clicking the "Reset Filters" link should clear the adjusted selections, but leave the form unchanged. Submitting the form via the "Filter" button should apply the selected filters from both properties and attributes to the underlying DataView and return the correct results through the Report.
Actual behavior:
On load, the page shows the "Toggle" checkboxes for all attribute filters. However, the "Configuration" selection mechanisms are not shown. Clicking the "Reset Filters" link seems to correctly load the form (the Attribute Filter selects then show). Submitting the form via the "Filter" button applies Property-based filters to the results, but no attribute filters. The block reloads having cleared selections on attribute filters. The label for the attribute filters "Toggle" displays nonsense (perhaps an ID) such as "51fe9641-fb8f-41bf-b09e-235900c3e53e".
Versions
┆Attachments: image.png