Needs work
Project:
Conditional Fields
Version:
7.x-3.x-dev
Component:
Compatibility w/ other modules
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2012 at 23:15 UTC
Updated:
23 Aug 2018 at 16:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
arosboro commentedI did some debugging and discovered that the issue stems from the entity and bundle information being located at delta 0 of the field rather than in the field root level.
This patch allows markup fields to be evaluated using the entity and bundle information provided at delta 0 of the field.
See #1787046: Setting #field_parents for the conditional fields module for a patch to set the correct value for #field_parents in the field if using Commerce Registration.
Comment #2
arosboro commentedPatch complete. Setting status to "needs review";
Comment #3
arosboro commentedChanging component to "Compatibility w/ other modules" since this applies to the Markup module
Comment #4
jason.fisher commentedThis patch along with the patch from comment #42 http://drupal.org/files/conditional_fields_fixed_multiple_field_collecti... at http://drupal.org/node/1464950 has allowed conditional fields to work with Commerce Registration and Field Collections here.
Comment #5
akalata commented#1 works for me, thanks!
Comment #5.0
akalata commentedUpdated issue summary.
Comment #6
markabur commented#1 works for me too, to show/hide Markup fields.
Comment #7
kyoder commentedWorked for me and patch applied cleanly against 7.x-3.0-alpha1+12-dev.
Comment #8
socialnicheguru commentedWhen I apply this patch, field_collections are no longer effected by a dependee.
Comment #9
kyoder commentedField collection doesn't work with conditional fields with or without this patch.
The issue queue has several field collection related posts such as this one https://www.drupal.org/project/conditional_fields/issues/1464950