Skip to content

Enhance Report Creation Screen #36

@reshmabidikar

Description

@reshmabidikar

While creating a report via Kaui, sometimes the following error occurs:

Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `org.killbill.billing.plugin.analytics.json.ReportConfigurationJson` (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('reportName')
 at [Source: (byte[])""reportName":"new_accounts_per_day11","reportPrettyName":"new_accounts_per_day11","reportType":"TIMELINE","sourceTableName":"new_accounts_per_day","sourceName":"","sourceQuery":"","refreshProcedureName":"refresh_new_accounts_per_day","refreshFrequency":"DAILY","refreshHourOfDayGmt":"4"}"; line: 1, column: 1]]

There are some combinations like specifying the source field by itself, specifying the sourceName field in combination with the sqlQuery field, etc. which avoid this issue. The report creation screen needs to be enhanced so that this is obvious or some client side validations are required to display better error messages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions