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

When saving an event with a Neo field we receive a type error #354

Open
a-am opened this issue Dec 10, 2024 · 1 comment
Open

When saving an event with a Neo field we receive a type error #354

a-am opened this issue Dec 10, 2024 · 1 comment
Assignees
Labels
issue Something isn't working correctly

Comments

@a-am
Copy link

a-am commented Dec 10, 2024

When saving an event with a Neo field (with or without content in Neo field) we receive a type error.

Cannot assign string to property benf\neo\Field::$propagationMethod of type craft\enums\PropagationMethod

Location:
solspace/craft-calendar/packages/plugin/src/Elements/Event.php - line 1572.

Steps to reproduce

  1. Add Neo field to a calendar
  2. Create new event (With or without content in Neo field to trigger error)
  3. Save event

Expected behavior
After creating and saving an event the control panel should not receive a type error and be either redirected to the event list or back to the event edit page depending how the event was saved.

Craft & Plugin Info (please complete the following information):

  • Craft Version: 5.5.5 Pro
  • Calendar Version: 5.0.12
  • Calendar Edition: Pro
  • Fresh Install or Upgrade: Fresh Install
@a-am a-am added the issue Something isn't working correctly label Dec 10, 2024
@kjmartens
Copy link
Contributor

Sorry for the trouble @a-am,

We will investigate and resolve this issue shortly. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
Development

No branches or pull requests

3 participants