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
Thanks for getting in touch. We are currently discussing what would be the best approach in this case. I'll update this issue again once have something more concrete.
We just released Craft 4.5.0 with a solution to this (#12125). Now all sites are validated, and if any other sites contain validation errors, the site will be mentioned in the new validation error summary.
(We ended up only implementing this for full edit pages, not slideouts, since there’s no way to actually switch to editing other sites from within slideouts.)
What happened?
Description
In a multi-site environment it is possible to publish entries that contain validation errors on sites that are not currently selected.
Steps to reproduce
Expected behavior
Don't publish, display errors.
Actual behavior
Gets published.
Workaround
We use a workaround in a custom module like this, but not sure whether this will or will not work under any circumstances
/Aylin
Craft CMS version
4.1.2 (should be the same in Craft 3)
PHP version
8.0.15
Operating system and version
Windows 10 Pro
Database type and version
MySQL 5.7.14
Image driver and version
Imagick 3.7.0 (ImageMagick 7.1.0-18)
Installed plugins and versions
The text was updated successfully, but these errors were encountered: