Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-7045

Make KPI value parsing nullsafe

XMLWordPrintable

    • Not defined

      Context:
      Currently the value parsing of KPI reports in DigestService.getKpiValueString is not nullsafe and can lead to NPEs if for some reason the value is null.

      Also, there is an incorrect error log for nonexisting reports in getKpiSummaryDtos.

       

      AT:

      • incorrect error log is removed
      • getKpiValueString  is made nullsafe

       

      Testing notes:

      Unfortunately the NPE cannot be tested as the issue doesn't seem to be reproduceable. 
      The incorrect log can be tested: set up a digest, wait for it to be sent out and confirm that there is no log that claims that a report for a digest could not be found.

       

      This is also backported to 39 and 310 maintenance branches

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: