[Reporting | Iteration + Campaign report] Report generation may fail if the ‘Include issue details’ box is checked

Affected version : v8.X on postgres database

Observed behaviour

This bug occurs when attempting to generate an iteration or campaign report, when the ‘Include issue details’ box is ticked.

Occurs on postgres databases with the following logs:

squash-tm (1).log

Note: does not seem to be due to the number of anomalies present in the iteration or the anomalies themselves.

Expected result

Generation should occur, especially if the anomalies are accessible from the ‘Known anomalies’ anchor of the iteration.