Reproduce:
- Create an invalid Report (e.g. by not selecting any process definition)
- Add invalid Report to Dashboard
- See that the Report name is displayed for the invalid report
- Share Dashboard
- Goto share page of Dashboard
Expected:
- Name of invalid report is shown on shared Dashboard
- Error message is the same as on the normal Dashboard view
Observed:
- Different error message
- Name is missing
Hint:
- api/report/reportId/evaluate correctly returns an object with errorMessage and reportDefinition
- api/share/dashboard/shareId/report/reportId/evaluate incorrectly returns an object with just an errorMessage