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

Example 'new visualisation' PRs no longer work #7509

Open
Smilebags opened this issue May 15, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@Smilebags
Copy link

commented May 15, 2019

Reviewing the documentation and example PRs for how to add a new visualisation, I have followed those steps as closely as possible (apart from some folders which seem to have been moved). When adding the new visualiation to a dashboard, I get the following error:

An error occurred while rendering the visualization: Error: Item with key "custom_vis" is not registered.

Expected results

The visualisation loads

Actual results

A yellow box displays with the error, along with the same message through console.warn.

How to reproduce the bug

Follow the structure of #3013 in order to create a new visualisation, run npm run build and npm run sync-backend, start server. Add new chart using the visualisation, and add to dashboard. Visit dashboard.

Environment

  • superset version: v0.29rc7
  • python version: Python 3.7.3
  • node.js version: v11.11.0
  • npm version: 6.7.0

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.
@issue-label-bot

This comment has been minimized.

Copy link

commented May 15, 2019

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.86. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@issue-label-bot issue-label-bot bot added the #bug label May 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.