Closed (fixed)
Project:
Field Group
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 10:51 UTC
Updated:
11 Sep 2013 at 20:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
hadsie commentedComment #2
hadsie commentedActually, nevermind.. it seems like something more sinister is going on here. Going to delete all my field groups and recreate them to try and fix this.
Comment #3
pmackay commentedDid you find out any more info on what was going on here? Just experienced the same issue in a similar scenario of importing commerce types using Features.
Comment #4
akalata commentedreposted at #2065081: Causes errors with Field Group in Features?
Comment #5
heddnWhile I think that other modules might create the issue i.e. remove all the children of the field group, this can also happen manually i.e. someone doesn't assign fields to a group. This patch should catch the issue by providing default values if the group data is empty
Comment #7
Stalski commentedThis issue is a bit outdated. The patch in #1 is redundant since the code changed a lot since then.
The patch in #5 is another issue imo. The problem for the isset/empty check has been changed and solves the problem defined ni the issue.
I can't seem to understand what you mean by not assigning fields to a group and the resulting problem. If this is a problem, please open a new issue and some steps to reproduce it.
Comment #8
heddnIn this client's site, they have an empty field_group with no children. Not sure why.
I seemed to have missed the clone in the patch when merging the patch from the latest stable build (which was what I was working against). Let's see if this makes the test bot a little more happy.
Comment #9
heddnNote to self: I really need to look at dev code branch a little more. This is definitely resolved now. Ignore #8.