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

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

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

      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

        This is the controller panel for Smart Panels app

            [OPT-7343] Selecting specific or latest version and no tenant in report breaks FE

            Helene Waechtler created issue -
            Helene Waechtler made changes -
            Attachment New: reportissue.gif [ 68018 ]
            Helene Waechtler made changes -
            Assignee New: Omran Abazeed [ omran.abazeed ]
            Helene Waechtler made changes -
            Attachment New: reportissue2.gif [ 68020 ]
            Helene Waechtler made changes -
            Description Original: h3. 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
            h3. Environment: C7/ C8SaaS/ C8SM

            Optimize version : 3.11
            ES version : 8
            OS + Browser version : chrome
            h3. 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

            h3. Observed behaviour:

            The report breaks, saying "Cannot read properties of undefined (reading 'id')"
            h3. Expected behaviour:

            The report should not break but instead just show no data.
            h3. Additional Information: 

            Video attached
            New: h3. 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
            h3. Environment: C7/ C8SaaS/ C8SM

            Optimize version : 3.11
            ES version : 8
            OS + Browser version : chrome
            h3. 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

            h3. Observed behaviour:

            The report breaks, saying "Cannot read properties of undefined (reading 'id')"
            h3. Expected behaviour:

            The report should not break but instead just show no data.
            h3. Additional Information: 

            Video attached
            Helene Waechtler made changes -
            Assignee Original: Omran Abazeed [ omran.abazeed ]
            Resolution New: Fixed [ 1 ]
            Status Original: Triage [ 10612 ] New: Done [ 10010 ]
            Helene Waechtler made changes -
            Fix Version/s New: 3.11.0 [ 18496 ]
            Joshua Windels made changes -
            Labels Original: current_release

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

                Created:
                Updated:
                Resolved: