Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2252 Export & Import - Single Report Entities
  3. OPT-4640

Importing malformed JSON file does not return structured error response

    XMLWordPrintable

Details

    • Not defined

    Description

      Reproduce:

      • Import a file with the following content:
        this is not valid json
        

      Expected:

      • Backend response is a JSON object with a valid errorCode that can be used to display an error notification

      Observed:

      • Backend response is
        Unrecognized token 'this': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
         at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 6]
        

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian.stamm Sebastian Stamm
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce