Closed (fixed)
Project:
Field Group
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2015 at 06:38 UTC
Updated:
3 Jan 2018 at 09:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bgilhome commentedComment #3
bgilhome commentedUpdated patch to fix 'references to elements of a temporary array error. Also updates #field_parents where appropriate.
Comment #4
bgilhome commentedI must have diff'ed from the wrong commit, attached updated patch = diff from 7.x-1.x head.
Comment #5
bgilhome commentedComment #8
bgilhome commentedModified patch to not prepend group parents if they already exist in #array_parents/#field_parents. Also fix 'unset index' notices.
Comment #9
bgilhome commentedComment #10
milos.kroulik commentedThe patch from #8 doesn't apply to the latest version:
Comment #11
jproctor@milos.kroulik, the patch from #8 doesn't apply to 1.4 because it was built on 1.x-dev, which also includes the patch from #2386335. Adding a function to the end of the file is tricky, too. Also it unnecessarily touches the .info file, which invites trouble.
I've updated the patch here to remove the .info stuff and bring the new helper function up a little closer to coding standards (and moved it to be near where it's called), and have successfully applied it to version 1.4 after applying the patch in #2386335.
Comment #12
joelstein commentedJust want to point out that this patch works splendidly and is required for Conditional Fields to have Field Group support.
See #1161314-152: Add basic Field Group support for ANDing conditions.
Comment #14
nils.destoop commentedThx for the patch, pushed it to dev
Comment #16
travelvc commentedUnfortunately it seems this patch causes tabs to be erroneously displayed in certain cases:
https://www.drupal.org/project/field_group/issues/2926605