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

lolmaus’s picture

Priority: Normal » Critical

I'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.

phayes’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 6.x-3.2 » 6.x-1.x-dev
Component: Views panes » Code

Isn'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.

merlinofchaos’s picture

Status: Active » Closed (duplicate)