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

Selecting specific or latest version and no tenant in report breaks FE

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.11.0
    • None
    • frontend
    • None
    • Not defined

    Description

      What/Where is the issue ?

      When in a report data source no tenants are selected but a specific or "latest" version is selected, the FE breaks with error message "Cannot read properties of undefined (reading 'id')". Video attached

      Environment: C7/ C8SaaS/ C8SM

      Optimize version : 3.11
      ES version : 8
      OS + Browser version : chrome

      Steps to reproduce:

      • Preconditions:
        Optimize in CCSM with at least one definition deployed that has multiple versions
      • Steps:
        • Create a report, in the report creation modal deselect all tenants and select either "latest" version or a specific version
        • OR:
        • after creating a report, edit it and deselect all tenants and select either a specific version or "latest" version

      The same also occurs for definitions that only exist on one tenant when selecting a specific version (latest is fine):

      • Preconditions:
        Optimize in CCSM with atone definition deployed on one tenant
      • Steps:
        • Create a report
        • after creating a report, edit it and select a specific version

      Observed behaviour:

      The report breaks, saying "Cannot read properties of undefined (reading 'id')"

      Expected behaviour:

      The report should not break but instead just show no data.

      Additional Information: 

      Video attached

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce