"This value should not be null." error with IEF field

Created on 16 May 2022, almost 3 years ago
Updated 5 February 2024, about 1 year ago

Describe your bug or feature request.

"This value should not be null." validation error happens if the product has a inline entity required field and the user save it clicking on "save and add variations" button.

If a bug, provide steps to reproduce it from a clean install.

* add a content reference field on a product type - e.g. to Article content type
* set up the form display with IEF widget - complex
* add a product, save it using "save and add variations" button.

Some other info:

* if the field widget used is IEF widget -simple, on saving the product the site crashes wit the following error: " Integrity constraint violation: 1048 Column 'title' cannot be null:"
* same error ""This value should not be null." " happens if some changes to the forms' fields are done pro-grammatically with a hook_form_alter

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇹Italy Giuseppe87

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024