SparkDevNetwork / Rock

An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
http://www.rockrms.com
580 stars 353 forks source link

Person report with a 'Photo' select field causes exception #5985

Closed mkinyon closed 3 months ago

mkinyon commented 3 months ago

Description

Viewing a person report that includes a photo select field causes the following exception:

There was a problem with one of the filters for this report's dataview.
Property 'System.String Html' is not defined for type 'Rock.Model.Person'

The exception says that the issue is with the data view, but this can happen with or without a data view attached to the report.

Actual Behavior

Exception occurs.

Expected Behavior

The report to load.

Steps to Reproduce

Here is an existing example in the prealpha environment: https://prealpha.rocksolidchurchdemo.com/reporting/reports/5

Issue Confirmation

Rock Version

v16, prealpha

Client Culture Setting

en-US

jonrob08 commented 3 months ago

Closing this issue with the following commits for future reference: https://github.com/SparkDevNetwork/Rock/commit/bbdfba7e63358d1d56518961cae972e4ac042cc9 and https://github.com/SparkDevNetwork/Rock/commit/b1f6fd5260e3c335b3ba67b39158f7ed24c65ba3