How to reproduce:
1) Create a view.
2) Create a panel and add that view into it. Save.
3) Delete the view.
4) Go to "Edit content" section of the panel.
What happens:
There's a WSOD. php.log has the following error:
Call to a member function set_display() on a non-object in .../views_panes.inc on line 430
What i think should happen:
The module should not produce a php error and treat lack of view gracefully. It should either delete the missing view from panel or display an 'unknown view' dummy item (like Views does for deleted CCK fields).
PS Thank you for the great module!t
Comments
Comment #1
lolmaus commentedI've set bug's state to critical because the it renders panel's content uneditable. I had to delete my panel and create a new one.
Comment #2
phayes commentedIsn't this a bug in ctools, not panels? "/sites/all/modules/ctools/views_content/plugins/content_types/views_panes.inc".
Ideally, it should die gracefully with a 'cannot find view' or some-such message in the panel content.
Comment #3
merlinofchaos commented#612850: Fatal Error views_panes.inc on line 430