Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Unless "Allow conflicts to be added" is checked, you can no longer see Conditional Fields attached to a feature. Existing features, which were previously generated and included conditional fields settings, when you recreate the feature it removes the features[condition_fields] = node:content_type_machine_name entry from the .info. The actual conditional fields feature file with the settings is still there, but it no longer seems to recognize conditional fields. If you check "Allow conflicts to be added", however, it does show up and is already checked off.
Comments
Comment #2
scotwith1tI don't have the exact details of what's wrong yet, but it seems this is inconsistent. The existing features definitely do NOT list the Conditional Fields that are already packaged up with the feature. Only some times do I have a problem with the line in .info being wiped out. Will post more as I find out.
Comment #3
scotwith1tIt's almost like once I make a change to the conditionals, it tries to then remove that line from the info file next time I recreate the feature? When I do a diff after changing a conditional, I only have the
entry and no changes to the actual conditionals are captured! Super-bummed as we depend heavily on this module for a large government project! :( Manually updating the conditionals include file for now...