Support Article
Several InvalidReference Exception when report definition is run
SA-79737
Summary
Multiple InvalidReference Exception at the back end when a report definition is run.
Error Messages
Not Applicable.
Steps to Reproduce
- Add a data type and add a new column
- Create a local data source. This creates a new table
- Create a report definition in the same class including a newly created column
- Run the created report definition
Root Cause
The 'Report on Descendent classes' instances option on the Data Access tab of the Report Definition rule has a new option to include data from all the descendant classes of the report's primary class. If the descendant classes are mapped to multiple class tables, the generated SQL query performs UNIONs to include this data. Previously, only a single class was included in the report.
Resolution
Perform the following local-change:Open the report definition Data Access tab and disable the 'Report on Descendent classes' check box.
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.