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

Hidden toggle fields throw MySQL error on save when strict mode is on. #14

Closed
robinsowell opened this Issue Nov 20, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@robinsowell
Copy link
Contributor

robinsowell commented Nov 20, 2018

If a toggle field is hidden via layouts, it's trying to insert null into the table and throwing a mysql error in strict mode:

Integrity constraint violation: 1048 Column 'field_id_1' cannot be null:
INSERT INTO `exp_channel_data_field_553` (`field_id_1`, `field_ft_1`, `entry_id`) VALUES (NULL, 'xhtml', '7099')
@kevincupp

This comment has been minimized.

Copy link
Contributor

kevincupp commented Dec 4, 2018

Closed via 12834dd

@kevincupp kevincupp closed this Dec 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment