Context:
Currently for the automatic interval calculation we are only considering reports with more than 1 result (i.e. more than 1 process instance), as we are handling this cases differently -> by not creating an automatic interval but rather just by setting group by MONTH)
This leads to following (probably pretty unlikely) edge case:
- given:
report 1 has several process instances, but report 2 has only 1.
And this process instance of report 2 is outside the range of the process instances of report 1.
And both are set to group by start/end date AUTOMATIC
- when:
combined report is evaluated
- then:
there is the issue that the date range is calculated for the results of report 1 and the result of report 2 is not returned.
This issue faced on implementing OPT-2309, not sure how relevant it is in practice (probably not very..), but it should be fixed eventually.