Skip to content

Calendar component - errors when adding and configuring layers #5037

@yuliaGradova

Description

@yuliaGradova

When working with the Calendar component, two errors occur:

  1. "Value must not be null" - appears when trying to add a layer
  2. "useMetadata must be used within a MetadataProvider" - appears when clicking Configure layer

To Reproduce
For Issue 1:

  1. Add a Calendar component to the page/form
  2. Go to its configuration/settings
  3. Click Add layer
  4. Observe the error: "Value must not be null"

For Issue 2:

  1. Add a Calendar component to the page/form
  2. Go to its configuration/settings
  3. Click Configure layer on an existing layer
  4. Observe the error: "useMetadata must be used within a MetadataProvider"

Expected behavior
Adding a layer should work without errors
Clicking Configure layer should open the configuration panel without errors

Screenshots

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions