Creating a nested layout preset freezes the page and area layouts

Permalink 0 0 Browser Info Environment
When I add an layout and within this layout I add another layout, then save this as a preset. This page can no longer be opened. Also page layouts cannot be added to other pages anymore. This results in the log error:
Exception Occurred: /home/bomgroup/public_html/concrete/src/Area/Layout/Preset/Provider/ThemeProvider.php:19 Invalid argument supplied for foreach() (2)

Only by clearing AreaLayoutPresets in the database I can continue.
Not 100% sure C5 has been build to handle presets like these. Would be great though!

Status: New

Still Valid:

This bug is valid a newer version of concrete5. View Current Bug

concrete5 Environment Information


Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0