Skip to content

Can't save new calendar events after upgrade from Craft 4 to 5 #407

@brandonjjon

Description

@brandonjjon

What happened?

Image

It wants me to save the event first before adding pageHeader and pageContent but I can't save the event due to the validation errors. Definitely related to the new nesting stuff in Craft 5 but not sure what the best solve is here. pageHeader is a supertable and contentPage is a matrix. I have ran the console commands as well, fix-titles/fix-content etc. Can't really make these fields optional because they're used elsewhere. I can make Page Content optional in this calendar event entry type, but still doesn't fix the Page Header issue, would rather not make the minimum 0 on that one just to fix this. Any suggestions?

How can we reproduce this?

I'm not sure the exact steps to be honest.

  1. Start on the latest version of Craft 4
  2. Make sure you have a supertable field and a matrix field on your calendar event entry type
  3. Make sure that works ok
  4. Upgrade to Craft 5
  5. Test creating an event after the upgrade

Calendar Edition

Pro

Calendar Version

5.0.21

Craft Version

5.8.12

When did this issue start?

  • Unsure
  • Fresh install of Calendar
  • After upgrading from older Calendar version
  • After upgrading from older Craft version
  • After a change to hosting configuration

Previous Calendar Version

5.0.19

Metadata

Metadata

Assignees

Labels

6.0Calendar 6.0 releaseconfirmedBug has been confirmedfixingCurrently working in a fix for the issuelimitationA current limitation of the plugin

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions