Kunstmaan / KunstmaanBundlesCMS

An advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.
https://kunstmaancms.be
MIT License
406 stars 188 forks source link

[PagePart] (fix) skip checking for not persisted sub entites delete c… #3453

Closed mart-insiders closed 3 weeks ago

mart-insiders commented 1 month ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets comma separated list of tickets fixed by the PR

Fixed a bug when persisting a pagepart with subentities where one is being deleted whilst not yet persisted. This causes the preg_match checks to not match and cause a 500 error. Later when iterating through the $subPagePartsToDelete, the $deleteInfo object is null and will also cause a 500 error.

acrobat commented 3 weeks ago

Thanks @mart-insiders