Closed (fixed)
Project:
Node Collection
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2012 at 18:10 UTC
Updated:
15 May 2012 at 14:36 UTC
On a fresh install (profile minimal) I get this error on "Define a Parent > Child relationship" page.
Notice: Undefined variable: parent_options in entity_collection_admin_settings_form() (line 51 of /Users/olsson/System/aegir/platforms/drupal-7.12/sites/review.loc/modules/1493998/admin/entity_collection.admin.inc).
Notice: Undefined variable: child_options in entity_collection_admin_settings_form() (line 61 of /Users/olsson/System/aegir/platforms/drupal-7.12/sites/review.loc/modules/1493998/admin/entity_collection.admin.inc).
Comments
Comment #1
sankatha commentedAdded some more sanity checks but I could not reproduce this in a fresh Drupal 7.12 installation with Article and Basic page content types. However, defined the $parent_options and $child_options on the top of the function so that these notices does not throw out just in case these arrays does not get filled out/initialized further down the lines.
Comment #2
sankatha commentedComment #3
sankatha commented