Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Aug 2012 at 21:46 UTC
Updated:
23 Sep 2014 at 09:35 UTC
Jump to comment: Most recent
Comments
Comment #1
Jorrit commentedThe code that causes the error is:
Shouldn't that be something like:
or
Comment #2
hanpersand commentedI'm unable to use Display Suite in one instance because of this notice. When I get it, I'm unable to drag and drop properly. It only happens when I enable DS layouts and then try to reorder fields. I can't "let go" of a field when dragging, and only one of over a dozen fields appears on the front end, with the notice.
This may only happen when I'm using a fieldset. Going to test that hypothesis next.
Comment #3
hanpersand commentedWhen this notice is showing, I'm also getting an Ajax error--not sure if related.
Comment #4
hanpersand commentedI wonder if this is really a problem with Display Suite, as it's only happening when layouts are enabled. Going to check queue over there.
Comment #5
hanpersand commentedFiled this under Display Suite http://drupal.org/node/1989108
Comment #6
swentel commentedThis is a contrib thing and not major at all as there's no way to reproduce this with core only.
Comment #7
Zero4ffect commentedI am getting this error and am not using Display Suite.
After some testing it appears that this error occurs when you create a field contained within a fieldgroup in the same Save action.
Comment #8
pjcdawkins commentedrcube: your message was from 5 months ago - is this still a bug?
Comment #9
j4 commentedYes this is still an issue..is there any solution?
Comment #10
seesoe commentedno solution?
Comment #11
kcannick commentedHaving the same issue... I even enable weights and manual set them and field groups but upon saving I get error and fields go wherever they want.
Comment #12
nancydruI got this in fairly basic Drupal 7.28 when creating a new field and changing its order.
Comment #13
joachim namyslo@nancyDru
Do you have field_groups and or field_groups_table in use? same problem here, when these two modules are enabled
Comment #14
nancydruYes, I use Field Groups.
Comment #15
joachim namysloIssue for fieldgroups created If you have some suggestions to this discription dont hasitate to drop a comment here:
https://www.drupal.org/node/2303305
Comment #16
cmstomI resolved this by disabling and re-enabling Display Suite modules.
edit: Actually it does still show up still on every other page load inside Manage Display. Is still showing up even after disabling all Display suite modules.
Comment #17
dcam commentedWe could really use some steps to reproduce this issue, preferably just using Drupal core.
Comment #18
davewilly commentedI have just got this after enabling display suite layout on a content type display:
Notice: Undefined index: name in _field_ui_reduce_order() (line 81 of /var/www/html/modules/field_ui/field_ui.admin.inc). =>I used bundle copy to create the content type via an import, which has all been working fine, until enabling a display suite layout.
Comment #19
davewilly commentedNot an ideal solution, but if the "Manage display" of your view mode page is timing out with the above error, due to many nested field groups and you can't disable the Display suite layout, you can manually unset it in database:
delete from ds_layout_settings where bundle = 'your_bundle_type' AND view_mode = 'your_view_mode' limit 1;Refresh the page and the layout will now revert to default (No Display suite layout).
In order to re-add the Display suite layout, you will need to flatten the field group nestings by dragging them out until there is no nesting, and then save. Once saved you can now re-add a Display suite layout, e.g. One Column, and then have some more fun dragging your field groups back into their parent/child nestings.
Laborious - but works.