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

Cannot save reports with non integer targetValue

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.4.0-alpha1, 2.4.0
    • None
    • backend
    • None

      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

        This is the controller panel for Smart Panels app

            [OPT-1874] Cannot save reports with non integer targetValue

            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

            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

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

                Created:
                Updated:
                Resolved: