I've got a minor conflict with IFE module - it's removing the $SESSION['messages']['error'] key and then condition errors is getting the messages (after detecting form errors) and trying to loop over them.

I've checked this against latest dev versions. I think there should just be a wrapper to check that the 'error' section is set. there might be a more correct solution... i tried getting IFE to clear form errors so that condition_fields didn't think there were any errors to check.

Warning: array_diff(): Argument #1 is not an array in conditional_fields_form_validate() (line 798 of /var/sources/edeposit-drupal/public/sites/all/modules/conditional_fields/conditional_fields.module).
Warning: Invalid argument supplied for foreach() in conditional_fields_form_validate() (line 798 of /var/sources/edeposit-drupal/public/sites/all/modules/conditional_fields/conditional_fields.module).
CommentFileSizeAuthor
#2 condition_fields-2835625-2.patch727 bytessime
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sime created an issue. See original summary.

sime’s picture

capysara’s picture

Thanks! This patch resolved an issue I was having with a date field.