Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1173

Error Message in case of missing reporting implementation is confusing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      While working on FINERACT-1127, I noticed that the Error Message in case of a missing reporting implementation is pretty damn confusing.. this made it more cnofusing for me to build https://github.com/vorburger/fineract-pentaho/ for FINERACT-1127 than I thought this would be.

      In 1.4.0 Fineract for a URL like {{API_URL/api/v1/runreports/Expected%20Payments%20By%20Date%20-%20Formatted?R_endDate=2013-04-30&R_loanOfficerId=-1&R_officeId=1&R_startDate=2013-04-16&output-type=PDF&R_officeId=1}} is currently reporting "Reporting meta-data entry not found." (or "Report Parameter with identifier " + id + " does not exist"; both from ReportNotFoundException) - but that's otherwise used for a report that cannot be found, and bubbles up from much later in the code.

      I'll raise a PR so that in 1.5.0 this surfaces much more clearly, and earlier in the code, as a PlatformServiceUnavailableException with more more obvious text: "There is no ReportingProcessService registered in the ReportingProcessServiceProvider for this report type: "

      francisguchie ptuomola FYI.

      Attachments

        Issue Links

          Activity

            People

              vorburger Michael Vorburger
              vorburger Michael Vorburger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: