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

Altering instant dashboard copy before creation leads to errors when saving dashboard

    XMLWordPrintable

Details

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

    Description

      What/Where is the issue ?

      When creating an editable copy of an instant dashboard, users can add multiple datasources in the modal (also changing the dashboard template). When they create this dashboard, Optimize creates a collection for it. However, this collection only has the datasource of the default instant dashboard, not whatever other sources the user added. This leads to an error when trying to save the dashboard.

      Environment: all

      Optimize version : 3.12.0 and starting whereever we introduced editable copies of instant dashboards
      ES version : irrelevant
      OS + Browser version : irrelevant

      Steps to reproduce:

      • Preconditions: 
        • Optimize is up and running and has some processes imported
      • Steps:
        • Navigate to the process overview page
        • Click on a process to access its instant preview dashboard
        • Click "create an editable copy"
        • In the dashboard creation modal, add another definition
        • Click create
        • In the new dashboard, click save

      Observed behavior:

      Dashboard saving fails

      Expected behavior:

      It should be possible to save the editable copy.

      Additional Information:

      This we could either achieve by:
      1. adjusting FE request to create collection with correct data sources
      2. adjusting the FE to prohibit users from altering the "copy" before creation, so that that they indeed only create a copy of the instant dashboard as is, which they can edit later

      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