Hi. Using D8.3 on pantheon and field groups version 8.x-1.0-rc6 .
Installed the module, activated, then went to the Manage Display tab of my content type and clicked "Add Group". Selected type "HTML Element" and proceeded to name and define my group, including with a tad of custom css (style=" ").
Upon completing the add process, first thing I noticed is that the group does NOT appear anywhere on the Manage Display tab. So, I cannot place the group in a particular section. The group does appear as a parent one can select for another element, but that's it (and doing so causes an error of "Notice: Undefined index: name in Drupal\field_ui\Element\FieldUiTable::reduceOrder() (line 228 of core/modules/field_ui/src/Element/FieldUiTable.php)." . After searching, I suspect this is a result of whatever initial problem is causing the group itself to not appear in the Manage Display tab.
Of course, I also cannot edit or delete the group as another than the "parent" drop box, the group is no where to be found.
Thanks.
Comments
Comment #2
michalczernik CreditAttribution: michalczernik as a volunteer commentedExactly same issue here (Drupal Version: 8.3.4)
Comment #3
mennonot CreditAttribution: mennonot at Congruity Works commentedI am having the same problem with Drupal 8.3.5, however I only have the problem with a new custom content type that I created. The "basic page" and "article" content types, which are provided out of the box do have the + Add Group button at the top of the Manage Form Display tab.
Comment #4
mennonot CreditAttribution: mennonot at Congruity Works commentedI uninstalled Field Groups 8.x-1.0-rc6 and replaced it with Field Groups 8.x-3.x-dev and the Add groups button appears correctly as it should.
Comment #5
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedFor drupal 8.3 and higher, you indeed need the 8.3 branch of fieldgroup. Core changed columns on the display screen, resulting in a different behaviour that is needed.
I added the documentation for this on the project page. Important to know: there is currently an issue with field layout module. An issue for this exists on #2878359: Field groups are not compatible with field layout
Comment #6
jimbullington CreditAttribution: jimbullington commentedI'm experiencing this problem with Drupal 8.4.4 - using the 8.x-3.0-beta version - any ideas?
Comment #7
jimbullington CreditAttribution: jimbullington commentedNevermind - I'm stupid.
Comment #8
citronica CreditAttribution: citronica commentedI'm on Drupal 8.5.1 and running 8.x-3.0-beta1, and I got this to work by clearing the Drupal caches.
Comment #9
imperator_99 CreditAttribution: imperator_99 commentedHi,
I'm also experiencing this issue on 8.5.3 and 8.x-3.0-beta1, however it only came up when I tried to nest a group in another group and saved the form.
Cheers,
Jesse.
Comment #10
imperator_99 CreditAttribution: imperator_99 commentedComment #11
jchatard CreditAttribution: jchatard at Breek commentedAs imperator_99 reported, this issue still exists on:
* Drupal core 8.5.3
* Field Group 8.x-3.0-beta1
Any idea on what's happening here?
Thanks,
Jérémy
Comment #12
aerrasti CreditAttribution: aerrasti commentedSame problem here with Core 8.5.3 and Field Group 3.0-beta1.
Thanks
Comment #13
kamranafzal CreditAttribution: kamranafzal commentedSame problem here with Core 8.5.3 and Field Group 3.0-beta1
Comment #14
AdamPS CreditAttribution: AdamPS at AlbanyWeb commentedI am also seeing an error with Core 8.5.3 and Field Group 3.0-beta1. However I don't think it is exactly the same as the original bug.
The config when I had the problem was missing a line for "region:", and it was defaulting to disabled. I'm not sure how my site got in that state, but here's a guess. My memory is that in older versions of core, the region parameter was missing, and so presumably at some stage there was a migration hook to add the region parameter. I guess that field_group module did not have this migration step hence the field group was missing the region.
If I am right, then a possible fix is to write the migration hook and create a new version of this module. However there is a workaround, which is for the site admin use the manage display GUI to put the field group back into the enabled region.
Probably we should move this to a new issue, but I'm posting here for now as several others seem to have arrived here trying to debug their site.
Comment #15
justcaldwellSame behavior described by @AdamPS in #14, though I think this may be a duplicate of The region part of entity view config isn't set for old installs, which has an RTBC patch.
Comment #16
AdamPS CreditAttribution: AdamPS at AlbanyWeb commented@justcaldwell I agree, well spotted. Setting this back to the original resolution "Works as designed" as per #5 and matching comments #1-9.
Comments #10+ are actually a separate issue covered in #2968184.
Comment #17
grantkrugerThanks justcaldwell for the pointer to 2968184. The patch there solved this problem for me for the 8.x-3.0-beta1 version on Drupal core 8.6.2.
Comment #18
BrightBoldAnother hat tip to @justcaldwell. The patch in the other issue (combined with a database update) fixed the problem for me.
Comment #19
jlab CreditAttribution: jlab as a volunteer commentedI am experiencing this issue again on Drupal core 8.7.10 and Field Group 8.x-3.0-rc2.
I will install dev and test if it solves the issue.
Comment #20
szeidler CreditAttribution: szeidler at Ramsalt Lab commentedI also experienced various issues with the upgrade. Not on all of my sites and I actually haven't found the pattern. On the affected sites, the only option was to recreate the field groups from scratch.
Comment #21
lubwn CreditAttribution: lubwn commentedExperienced that on Drupal 8.9.18 and Field group 8.3 branch. Solved by just clearing the cache as well.