-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
Not defined
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