To reproduce, set the content type default settings, then install a module like Scheduler. Then revisit the content type settings page, and you'll see a bunch of PHP notices.

These notices are caused because the keys don't yet exist in the defaults. The simple solution is to merge the initial settings in on top of the defaults. Patch coming shortly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelstein’s picture

Status: Active » Needs review
FileSize
1.05 KB
bocaj’s picture

Status: Needs review » Fixed

This has been committed to the latest dev release. Thanks @joelstein!

joelstein’s picture

Hmm, I don't see it in the commit log:
https://www.drupal.org/node/1226070/commits

bocaj’s picture

Status: Fixed » Reviewed & tested by the community

Yeah, sorry @joelstein. For some reason I do not currently have write permissions to the content_type_extras code on Drupal.org. I submitted a request for the maintainers of the site to look into it. I forgot to update this ticket appropriately.

  • joelstein authored 6a9a23d on 7.x-1.x
    Issue #2473645 by joelstein: Undefined indexes if default setting doesn'...
bocaj’s picture

Status: Reviewed & tested by the community » Fixed

OK - now this is pushed to dev. Sorry about that!

joelstein’s picture

Thanks!

Status: Fixed » Closed (fixed)

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