You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of regular Mutex Lock /saving problems we had to deactivate autosaveDrafts. Since some time (we cannot pin it down unfortunately) we see problems with Matrix and NEO Block validation and in general when saving entries.
In this very case, saving will first show a notice it can't save but no validation message at the block in question, when a required field is missing. Second save, with the missing block, will then save – but will delete the block. It won't validate (as it does when autosaveDrafts is active).
Steps to reproduce
Set "autosaveDrafts" => false in general.php.
Create a new matrix field
Add a required text field to matrix
Create a new entry
Add a matrix (or NEO) block and the created, required text field but leave the content empty
See toast with info that entry could not be created, but no validation on the field
Save again
Will now remove the empty block and show success
Expected behavior
Blocks should validate, no matter if autosaveDrafts is deactivated.
Actual behavior
Block will not show validation message. Block will vanish on second save.
Craft CMS version
4.2.0.2
PHP version
8.0.20
Operating system and version
MacOS Monterey 12.5
Database type and version
MySQL (mariadb 10.5.13)
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.0-35)
Installed plugins and versions
NEO 3.x-dev
Redactor 3.0.2
The text was updated successfully, but these errors were encountered:
What happened?
Description
Because of regular Mutex Lock /saving problems we had to deactivate autosaveDrafts. Since some time (we cannot pin it down unfortunately) we see problems with Matrix and NEO Block validation and in general when saving entries.
In this very case, saving will first show a notice it can't save but no validation message at the block in question, when a required field is missing. Second save, with the missing block, will then save – but will delete the block. It won't validate (as it does when autosaveDrafts is active).
Steps to reproduce
Expected behavior
Blocks should validate, no matter if autosaveDrafts is deactivated.
Actual behavior
Block will not show validation message. Block will vanish on second save.
Craft CMS version
4.2.0.2
PHP version
8.0.20
Operating system and version
MacOS Monterey 12.5
Database type and version
MySQL (mariadb 10.5.13)
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.0-35)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: