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] [Share Modal] Export tab causes an error #201425

Open
Heenawter opened this issue Nov 22, 2024 · 5 comments
Open

[Dashboard] [Share Modal] Export tab causes an error #201425

Heenawter opened this issue Nov 22, 2024 · 5 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)

Comments

@Heenawter
Copy link
Contributor

Heenawter commented Nov 22, 2024

Describe the bug:

Clicking the "Export" tab in the share modal causes an unhandled error and the export does not work

Steps to reproduce:

  1. Open a sample dashboard
  2. Open the share modal
  3. Click "Export"
  4. 🔥 Crash and burn 🔥

Screenshots (if relevant):

Screen.Recording.2024-11-22.at.8.36.20.AM.mov

Errors in browser console (if relevant):

export_content.tsx:57 Uncaught TypeError: Cannot read properties of undefined (reading 'id')
    at ExportContentUi (export_content.tsx:57:1)
@Heenawter Heenawter added bug Fixes for quality problems that affect the customer experience Feature:Dashboard Dashboard related features impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) labels Nov 22, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@kibanamachine kibanamachine added the loe:needs-research This issue requires some research before it can be worked on or estimated label Nov 22, 2024
@Heenawter Heenawter added loe:small Small Level of Effort and removed loe:needs-research This issue requires some research before it can be worked on or estimated labels Nov 22, 2024
@eokoneyo
Copy link
Contributor

Hi @Heenawter , I'm unable to reproduce this following the steps outlined, is there any intermediate step that's mising or special configuration on your instance?

See;

Screen.Recording.2024-11-22.at.19.40.09.mov

@Heenawter
Copy link
Contributor Author

Heenawter commented Nov 22, 2024

@eokoneyo Oh wow!! This is a weird one hahahah :) I was running Kibana with examples via yarn start --runExamples. Not sure why, but this was enabling the Export tab even though I was running without a premium license - hence, the error.

So, to give some updated reproduction steps:

  1. Start Kibana with yarn start --runExamples and a basic license
  2. Open a sample dashboard
  3. Open the share modal
  4. Notice that the "Export" tab is enabled, even though it shouldn't be. Click it.
  5. 🔥 Crash and burn 🔥

Not sure how we feel about this one. I would be fine to close, since it's pretty niche - I'll leave it in your court :)

@tsullivan
Copy link
Member

It sounds like this is from the examples/share_examples plugin, which tries to add a custom integration into the sharing options. This is known to not work since the modal redesign and there is an open issue to address it: #195313

@Dosant
Copy link
Contributor

Dosant commented Nov 25, 2024

I added it as a sub-issue of #195313.

@Dosant Dosant added impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. and removed impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. labels Nov 25, 2024
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:Dashboard Dashboard related features impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience)
Projects
None yet
Development

No branches or pull requests

6 participants