-
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
This is the controller panel for Smart Panels app
[OPT-7463] Altering instant dashboard copy before creation leads to errors when saving dashboard
Component/s | Original: backend [ 13653 ] |
Description |
Original:
h3. 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. h3. Environment: all Optimize version : 3.12.0 and starting whereever we introduced editable copies of instant dashboards ES version : irrelevant OS + Browser version : irrelevant h3. 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 h3. Observed behavior: Dashboard saving fails h3. Expected behavior: It should be possible to save the editable copy. h3. Additional Information: This we could either achieve by: 1. adjusting the BE to handle the above scenario OR 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 |
New:
h3. 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. h3. Environment: all Optimize version : 3.12.0 and starting whereever we introduced editable copies of instant dashboards ES version : irrelevant OS + Browser version : irrelevant h3. 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 h3. Observed behavior: Dashboard saving fails h3. Expected behavior: It should be possible to save the editable copy. h3. 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 |
Assignee | New: Omran Abazeed [ omran.abazeed ] |
Status | Original: Triage [ 10612 ] | New: In Development [ 10312 ] |
Assignee | Original: Omran Abazeed [ omran.abazeed ] | New: Michal Konopski [ michal.konopski ] |
Status | Original: In Development [ 10312 ] | New: In Review [ 10212 ] |
Assignee | Original: Michal Konopski [ michal.konopski ] | New: Cigdem Ilhan [ cigdem.ilhan ] |
Status | Original: In Review [ 10212 ] | New: Ready for Testing [ 10008 ] |
Fix Version/s | New: 3.12.0 [ 18790 ] |
Assignee | Original: Cigdem Ilhan [ cigdem.ilhan ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Ready for Testing [ 10008 ] | New: Done [ 10010 ] |