Notice: Undefined index: module in views_plugin_list() (line 278 of /*/*/*/modules/contrib/views/views.module).

I got this php notice on the Feature recreate admin page when the feature contains at least one view.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kovacsaba’s picture

Patch attached

DamienMcKenna’s picture

Version: 7.x-3.1 » 7.x-3.x-dev
Status: Active » Needs review

The code is still exactly the same in the latest -dev release, so lets test the patch.

BTW please remember to update the issue status to "needs review" when you upload a patch, that'll trigger the testbot and let others know that there's a patch to look at.

DamienMcKenna’s picture

Status: Needs review » Needs work

The last submitted patch, 1: panelizer-php_notice-707484-1.patch, failed testing.

DamienMcKenna’s picture

Status: Needs work » Needs review
FileSize
536 bytes

Also, when you create a patch you should do it using a fresh copy of the module from git, rather than from your site's home directory, that way the directory paths line up.

I've rerolled the patch so it has the correct paths.

DamienMcKenna’s picture

Status: Needs review » Fixed

Thanks for the patch. Committed.

Status: Fixed » Closed (fixed)

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