Administer » Reports » Field list
causes 5 rows of the above message

Clean install of D7 from csv 17/10/2009 on Postgresql.

CommentFileSizeAuthor
#2 field_ui_warnings.patch2.45 KByched
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

johanneshahn’s picture

hi,
it seems there are some problems with the array structure of field bundles.
take a look at field_ui.admin.inc -> function field_ui_fields_list()

line wich makes trouble:
$rows[$field_name]['data'][2][] = l($bundles[$bundle]['label'], $admin_path . '/fields');

i think thats a temporary bug until they fix the fields structure ;).

yched’s picture

Status: Active » Needs review
FileSize
2.45 KB

Attached patch fixes this and another warning on 'change widget' form. (+ one whitespace fix)
These are remnants from #470242: Namespacing for bundle names.

CNR, but this should be RTBC, really.

yched’s picture

Title: Notice: Undefined index: label in field_ui_fields_list() (line 25 of /var/www/www-lan.webthatworks.it/d7/modules/field_ui/field_ » 'Undefined index' on admin/reports/fields and 'change widget' form

Frendlier title

bjaspan’s picture

Status: Needs review » Reviewed & tested by the community

This patch looks fine, but then let's re-open it to make a test to verify the Field List page works at all. Field UI needs more tests.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks!

Tests for Field UI are being wrangled at #600544: Tests for Field UI. I'd love to get that to a semi-committable state asap so we can get a baseline in to catch glaring problems like this.

yched’s picture

Status: Fixed » Closed (fixed)

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