Receiving this message, no idea why.

Notice: Undefined index: default_filename in defaultconfig_defaultconfig_components() (line 418 of /Users/xxx/Sites/distributions/dst.abepanopoly.com/profiles/panopoly/modules/contrib/defaultconfig/defaultconfig.module).

Previously reported by another user in the Default Config Issue Queue: http://drupal.org/node/1900574

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

populist’s picture

Status: Active » Closed (cannot reproduce)

I am going to close since since I don't see this happening anymore with the latest version of Ctools. Commented on the other issue to see if there is a clearer replicatable case (I tried installing things, rebuilding things, cache clearing, etc).

Sheldon Rampton’s picture

Project: Panopoly » Panopoly Core
Status: Closed (cannot reproduce) » Needs review
FileSize
488 bytes

This is actually an issue with the Default Config module. A patch has been proposed to Default Config here:

https://drupal.org/node/1900574

Here's a patch which adds the Default Config patch to the Panopoly Core makefile.

Sheldon Rampton’s picture

Version: 7.x-1.0-rc3 » 7.x-1.x-dev
dsnopek’s picture

Project: Panopoly Core » Panopoly
Version: 7.x-1.x-dev » 7.x-1.0-rc5
Issue summary: View changes

We file all issues in the main issue queue. Moving!

mrfelton’s picture

Status: Needs review » Closed (cannot reproduce)

I can't reproduce the issue in the latest version of Panopoly

pmackay’s picture

I can reproduce this with Panopoly 1.17. I am using FE Block. If I apply patch 13 in https://www.drupal.org/node/1900574 the issue is resolved. Would be much appreciated if that patch could be added to Panopoly Core makefile.

dsnopek’s picture

Status: Closed (cannot reproduce) » Active

@pmackay: Can you give steps to reproduce? Something along the lines of:

  • Create a Feature and add "..."
  • Visit page X
  • You'll see this error!

If I can reproduce the error, and see that the patch fixes it, I'll happily include it in Panopoly! Thanks!

pmackay’s picture

@dsnopek would it be possible for you to look at my distro install, or do I need to construct a much simpler example?

dsnopek’s picture

Status: Active » Postponed (maintainer needs more info)

@pmackay: If the distro is available on Drupal.org or GitHub or something, sure I can give it a try! Please pass the link along. :-)

dsnopek’s picture

Status: Postponed (maintainer needs more info) » Fixed
Related issues: +#1900574: Notice: Undefined index: default_filename in defaultconfig_defaultconfig_components() (line 418

Ok, looking at #1900574-8: Notice: Undefined index: default_filename in defaultconfig_defaultconfig_components() (line 418, I've now got steps to reproduce!

  1. Download Features Extra and install fe_block
  2. Go to the 'Create feature' at /admin/structure/features/create
  3. The PHP notice appears!

And I've confirmed that the patch at #1900574: Notice: Undefined index: default_filename in defaultconfig_defaultconfig_components() (line 418 fixes the issue. :-) So, I'm committing the patch here!

  • dsnopek committed e757a39 on 7.x-1.x
    Update Panopoly Core for Issue #1962642 by Sheldon Rampton: Undefined...
pmackay’s picture

Awesome, really appreciate this @dsnopek!

Status: Fixed » Closed (fixed)

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