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

[NodeBundle] Dragging pageparts to other section #3363

Open dannyvw opened 7 months ago

dannyvw commented 7 months ago

There is a problem that can occur when editing a page with multiple sections. The issue is that it is possible to drag pageparts into other sections. For example, from the "main" segment to the "header" segment. You will see a red block, but it doesn't do anything. You can simply save the page. After saving, the pageparts' names are broken. If you drag them back to the correct section, they will regain the correct names (after saving the page).

The best way to fix this problem is to not allow pageparts to be dragged to other sections. If that is difficult to implement, the secondary solution is to add validation so that it's not possible to save the page when the pageparts are not in the correct sections.