After applying patch at #1659614: Views row style plugin does not seem to work and getting views row style to work I have been greeted with notices in style of

Notice: Undefined index: name in _views_create_handler() (line 62 of C:\wamp\www\maga\sites\all\modules\views\includes\handlers.inc).

. It looks like most of other handlers have 'name' key, but i don't see it in requirements at http://api.drupal.org/api/views/views.api.php/function/hook_views_plugins/7 (except in function/file name).

Since I'm not sure why 'name' is missing and what should be 'name', there is no patch, but notices goes away if I stick 'name' => 'panelizer' in hook_views_plugins_alter() array.

Comments

merlinofchaos’s picture

Status: Active » Fixed

Ordinarily that 'name' is filled in automatically, but because we're using plugins_alter that doesn't actually happen. I'm not actually sure why we're using alter rather than plugins, but it does prevent Views from doing basic processing. The 'name' should match the key of the plugin, so just adding 'name' => 'panelizer_node_view' seems to be correct.

I've gone ahead and committed that.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.