Project:Flexifield
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi there. I was playing around with this module on a CVS checkout of DRUPAL-6, which has notices turned on, and found the following as I was going through:

admin/build/modules when first enabling the module:

Undefined index: element in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield.module on line 32.

admin/content/node-type/X/fields/X (configure screen) after creating a flexifield:

    * notice: Undefined index: #type in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 46.
    * notice: Undefined index: #process in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 47.
    * notice: Undefined index: #type in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 56.
    * notice: Undefined index: #input in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 57.
    * notice: Undefined index: #value in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 62.
    * notice: Undefined index: #type in /Users/webchick/Sites/6x/includes/form.inc on line 960.
    * notice: Undefined index: #type in /Users/webchick/Sites/6x/includes/form.inc on line 980.
    * notice: Undefined index: field_level_stats_add_more in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 86.
    * notice: Uninitialized string offset: 0 in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield.module on line 418.
    * notice: Uninitialized string offset: 0 in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield.module on line 419.
    * notice: Undefined index: #children in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 182.
    * notice: Undefined index: #children in /Users/webchick/Sites/6x/sites/all/modules/flexifield/flexifield-widget.inc on line 182.

Comments

#1

Status:active» fixed

Fixed on dev. Not sure yet if there are side effects from fixing this. I'm gonna work through some more of the issue queue before releasing an alpha3.

#2

Status:fixed» closed (fixed)

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