Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Non-existing widget: Better error handling #69

Open
vestimir opened this issue Mar 31, 2021 · 0 comments
Open

Non-existing widget: Better error handling #69

vestimir opened this issue Mar 31, 2021 · 0 comments

Comments

@vestimir
Copy link
Contributor

We need a better handling when a widget is present in the JSON structure, but there's no corresponding React file.

Steps to reproduce

  1. Create dummy widget with igor
  2. Set it up on a page and save
  3. Delete the dummy widget
  4. The CMS will crash with undefined

We need to catch when a widget cannot be found and to display relevant message in the browser console.

This issue affects:

  • canvas
  • reorder dialog
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant