You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2020/10/05 10:06:00 UTC

[jira] [Commented] (FINERACT-1176) Failing reports generation has no HTTP response

    [ https://issues.apache.org/jira/browse/FINERACT-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17207974#comment-17207974 ] 

Michael Vorburger commented on FINERACT-1176:
---------------------------------------------

Oh, the problem is actually slightly more subtle than this.. the HTTP response has {{Content-Type: application/pdf}} - in case of an internal error, it should not.

> Failing reports generation has no HTTP response
> -----------------------------------------------
>
>                 Key: FINERACT-1176
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1176
>             Project: Apache Fineract
>          Issue Type: Bug
>          Components: Reports
>            Reporter: Michael Vorburger
>            Priority: Major
>
> While I was working on FINERACT-1127, I've noticed that when e.g. Pentaho (or any other future alternative reporting plugin) fails with an internal error (e.g. {{org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query:}}) then the API just returns an empty HTTP 200 response, instead of a 500 with at least some hint of what happened on the server (e.g. {{exception.getMessage()}}).
> [~francisguchie] is this perhaps something that you would like to raise a PR for?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)