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

Changes to Matrix fields aren't saving after update to 3.1.9 #3832

Closed
moacode opened this issue Feb 13, 2019 · 17 comments
Closed

Changes to Matrix fields aren't saving after update to 3.1.9 #3832

moacode opened this issue Feb 13, 2019 · 17 comments

Comments

@moacode
Copy link

moacode commented Feb 13, 2019

Description

I updated a site running Craft 3.1.8 to 3.1.9, and noticed that changes made to fields within a matrix don't save. In my case, I ticked on the "field is required" checkbox, but other field content doesn't save either.

Steps to reproduce

  1. Upgrade an existing Craft site with matrix fields to 3.1.9 (maybe not necessary)?
  2. Make a change to a matrix block field and save.
  3. Go back to the matrix field. The changes won't have persisted.
  • Craft version: 3.1.9
  • PHP version: 7.2.14
  • Database driver & version: MySQL 5.7.25

Plugins & versions:

  • Architect 2.2.12
  • Asset Rev 6.0.2
  • Forms 2.5.11
  • Mailgun 1.4.0
  • Redactor 2.3.1
  • SEO 3.5.4
  • SimpleMap 3.3.4
  • Sprout Active 2.0.9
  • Super Table 2.1.7
  • Typed link field 1.0.17

Screen capture of issue

craftcmsmatrixfieldissue.mp4.zip

@darylknight
Copy link

darylknight commented Feb 13, 2019

I can reproduce this on a fresh Craft install with no plugins.

  • Craft version: 3.1.9.1
  • PHP version: 7.3
  • Database driver & version: MySQL

@m8brgarc
Copy link

I'm having this issue as well.

@FabianJacobs
Copy link

I have the same problem, I updated to the latest version of Craft CMS 3.1.9.1 and now I can't modify the field anymore after creating a new one. Can't delete, change or add any new field to the matrix

@jonXmack
Copy link

Having the same issue, 3.1.9.1, can't update/modify my matrix fields.

@jordikroon
Copy link

Also having the same issue. I rolled back to 3.1.8 with schema version 3.1.23.

@rogerdawkins
Copy link

Having the same problem. I tried rolling back to 3.1.8 by changing composer.json but get a message that downgrading to 3.1.8 is not supported when I do a composer update.

@jordikroon
Copy link

@rogerdawkins try setting 3.1.8 and 3.1.23 in the craft_info database table.

@rogerdawkins
Copy link

@jordikroon Thanks, that's perfect, back to 3.1.8 and able to edit matrix fields again.

@m8brgarc
Copy link

m8brgarc commented Feb 13, 2019 via email

@darylknight
Copy link

Yes - Brandon closed it by referencing a commit which hasn't been released yet

@mmikkel
Copy link
Contributor

mmikkel commented Feb 13, 2019

FWIW – if the field's title, handle and/or instructions fields are changed, any changes to the block settings will actually be saved also. So a workaround until the next release (if you don't want to roll back or apply the patch commit) is to add gibberish to the instructions field when saving changes to the block types.

@simeon-smith
Copy link

When will this be released? We have a large client that is in the middle of training on this and we'd like to update this ASAP.

@mmikkel
Copy link
Contributor

mmikkel commented Feb 13, 2019

3.1.10 was just released, resolving the issue ^ @simeon-uxiliary.

@simeon-smith
Copy link

Excellent, thank you!

@brandonkelly
Copy link
Member

Sorry, meant to update the thread after releasing 3.1.10 but got pulled into a meeting. Should be all good now!

@nicbou
Copy link

nicbou commented Sep 11, 2020

I have exactly the same issue in the latest version, 3.5.9

@brandonkelly
Copy link
Member

@nicbou Please send a database backup and your Composer files over to [email protected] and we can help look into it from there.

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