1. create a panel with a layout
2. delete this layout files in modules/panels/layouts/*
3. go to admin and try to change the panel of this previously created panel
4. you will see 4-5 errors on the top of webpage
5. you must delete panel config and recreate one with the same path and remain all config details in your brain... if you have much much details configured you are lost
additional: it is not possible to change a older panels layout config to a newer one. lets say and example. i'd like to change the panel from two column 50/50 to two column 70/30. In this situation i cannot simply switch. I must recreate all config :-(.
Comments
Comment #1
merlinofchaos commentedI don't understand how this can be even considered a bug.
If you delete code, of course the things that are expecting the code are going to fail. This is common sense. Don't delete the code if you've got a panel set to use it.
As for changing panels from one layout to another, I looked at this early on, and it turns out to be a lot more difficult than it sounds, and I'm not likely to provide that feature -- the amount of work vs the payoff is too small.