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 embed code for saved objects and snapshots are the same #66760

Closed
poffdeluxe opened this issue May 15, 2020 · 1 comment · Fixed by #66771
Closed

Dashboard embed code for saved objects and snapshots are the same #66760

poffdeluxe opened this issue May 15, 2020 · 1 comment · Fixed by #66771
Labels
bug Fixes for quality problems that affect the customer experience Feature:SharingURLs Short URLs and Share URL features patch-worthy regression Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0 v7.8.0

Comments

@poffdeluxe
Copy link
Contributor

Kibana version: At least 7.7

Browser version: Repro'd in Firefox and Edge

Original install method (e.g. download page, yum, from source, etc.): Repro'd in source and cloud

Describe the bug:
When generating Embed Code for a dashboard, the code generated for the saved object type is the same as the snapshot type (the one difference is that the URL in the saved object type includes the embed=true flag twice)

Steps to reproduce:

  1. Create a dashboard and apply some filters and modify the custom time range
  2. Go to Share->Embed Code and copy the code for Snapshot
  3. Go to Share->Embed Code and copy the code for Saved Objects
  4. Diff the two strings and they should be almost the same

Expected behavior:
Saved Objects embed code should not include the same state as the snapshot code

@flash1293

@poffdeluxe poffdeluxe added bug Fixes for quality problems that affect the customer experience Feature:SharingURLs Short URLs and Share URL features v7.7.0 v7.8.0 labels May 15, 2020
@timroes timroes added patch-worthy regression Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 15, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:SharingURLs Short URLs and Share URL features patch-worthy regression Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0 v7.8.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants