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

Date/time in Table Field in Matrix without default throws system-wide exception #4005

Closed
jacotijssen opened this issue Mar 18, 2019 · 1 comment

Comments

@jacotijssen
Copy link

jacotijssen commented Mar 18, 2019

Description

Creating a date/time column within a Table Field within a Matrix Block without a default table row throws an exception. After this, any page in the backend becomes unreachable.

Steps to reproduce

  1. Create a Matrix field
  2. Create a Table field within the matrix field
  3. Set one of the columns to a Date/Time type
  4. Delete the default row
  5. Save the field

Additional info

  • Craft version: 3.1.18
  • PHP version: 7.2.15
  • Database driver & version: MySQL 5.7.24
  • Plugins & versions: none
@brandonkelly
Copy link
Member

Thanks for reporting that. It’s been fixed for tomorrow’s release.

To get the fix early, change your craftcms/cms requirement in composer.json to:

"require": {
  "craftcms/cms": "dev-develop#a02c552f61f5ab5dcc193f5603a98caa0b997a85 as 3.1.18",
  "...": "..."
}

Then run composer update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants