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

Cannot save Alerts with threshold above int max value

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.0.0
    • None
    • backend
    • None

      Reproduce:

      • Try to create an alert with a threshold above integer max value (e.g. 4838400000) via the rest api

      Expected:

      • 204 No Content response

      Observed:

      • 400 Bad Request response

      Context:

      • Since we store the value of duration reports as milliseconds, this number can be exceeded easily if a user wants to set a duration threshold of more than 25 days.

      Hint:

      • We should probably use long instead of int to store the threshold
      • This might also affect the "Check report every" and "Reminder Emails" fields

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: