Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard with same name break download/deploy functionality #642

Closed
tobigremmer-dt opened this issue May 17, 2022 · 0 comments
Closed

Dashboard with same name break download/deploy functionality #642

tobigremmer-dt opened this issue May 17, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tobigremmer-dt
Copy link
Contributor

Describe the bug
If multiple dashboards exist that have the same name, download and deploy does not work correctly.

  1. A single .json is overwritten, every time a dashboard is downloaded with the same name
  2. Single .json is deployed (probably last instance in list?) which breaks all backup use cases.

For example, an environment has 2 dashboards called "Applications", 4 dashboards called "Config". All instances are detected but only single Config.json and single Applications.json is downloaded. Also, instances are merged into single identifier (i.e. "Applications" and "Config") which have multiple list items with key "name":

config:
- Applications: Applications
- Config: Config.json
- Config: Config.json
- Applications: Applications
- Config: Config.json
- Config: Config.json
 
Applications:
- name: 'Applications'
- name: 'Applications'

Config:
- name: Config
- name: Config
- name: Config
- name: Config

This issue was mentioned in #179 already. However, I feel this issue requires a dedicated (and timely) fix as this breaks functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants