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

Cannot save reports with non integer targetValue

    Details

    • Type: Bug Report
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-alpha1
    • Component/s: backend
    • Labels:
      None

      Description

      Reproduce:

      • Create a new report with
        • view: count process instance frequency
        • group by: none
        • visualize as number
      • Set the goal to 100.5
      • Save the report

      Expected:

      • Report is saved

      Observed:

      • Nothing happens
      • When changing view or groupby, the report cannot be displayed anymore, even with valid view/group/visualization combinations

      Hint:

      • The backend needs to store targetValues as string

        Issue Links

          Activity

          Hide
          sebastian.stamm Sebastian Stamm added a comment - - edited

          As trying to convert the user input to numbers fails for user inputs which are not numbers, we should just store the input as string. The visualizations already have safeguards in place to deal with such situations. I already adjusted the Configuration documentation accordingly: https://github.com/camunda/camunda-optimize/wiki/Reports#configuration

          Show
          sebastian.stamm Sebastian Stamm added a comment - - edited As trying to convert the user input to numbers fails for user inputs which are not numbers, we should just store the input as string. The visualizations already have safeguards in place to deal with such situations. I already adjusted the Configuration documentation accordingly: https://github.com/camunda/camunda-optimize/wiki/Reports#configuration

            People

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

              Dates

              • Created:
                Updated:
                Resolved: