Can't download generated reports, a NPE is thrown by the WebUI
Description
The solution for (revision b136c90c0669b3eb2d04ef0c6940ce68e4bcd9d6) has introduced a new problem.
The typical use case is not provide the fileName of a report file, it is passing the locatorId, and then use the ReportCatalogDAO to find the report location (which means the fileName is not going to exist).
The current code assumes that fileName exist, so it throws a NPE when trying to download a report based on the locatorId.
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Alejandro Galue July 10, 2014 at 3:22 PM
The customer has reported that the fix has solved the issue.
Alejandro Galue July 7, 2014 at 4:51 PM
Fixed on revision 446ea74b2114632f513472f7211a3284c390e659 for 1.12
The solution for (revision b136c90c0669b3eb2d04ef0c6940ce68e4bcd9d6) has introduced a new problem.
The typical use case is not provide the fileName of a report file, it is passing the locatorId, and then use the ReportCatalogDAO to find the report location (which means the fileName is not going to exist).
The current code assumes that fileName exist, so it throws a NPE when trying to download a report based on the locatorId.