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.
After using https://www.drupal.org/node/1289062#comment-11315485 #72 it appear warning
Warning: Invalid argument supplied for foreach() in field_collection_field_widget_embed_validate()
when add field collection that is not required.
Comment | File | Size | Author |
---|---|---|---|
#7 | fix_warnig_in_field-2829271-7.patch | 1.23 KB | cebasqueira |
| |||
#3 | field_collection-field_collection_validate_remove_warning-2829271-3.patch | 1.51 KB | drupal_beast |
Comments
Comment #2
drupal_beast CreditAttribution: drupal_beast commentedComment #3
drupal_beast CreditAttribution: drupal_beast commentedComment #4
drupal_beast CreditAttribution: drupal_beast commentedComment #6
cebasqueira CreditAttribution: cebasqueira at CI&T commentedComment #7
cebasqueira CreditAttribution: cebasqueira at CI&T commentedComment #8
jmuzz CreditAttribution: jmuzz commentedIs there a reason you need to use #72 from #1289062: Required fields in collection not validated when empty ?
That issue was closed after committing one of the other patches.
Have you tried the latest version without any extra patches?
Comment #9
cebasqueira CreditAttribution: cebasqueira at CI&T commented@jmuzz hi my friend,
You're right. That issues was fixed without any more patchs!
Comment #10
cebasqueira CreditAttribution: cebasqueira at CI&T commentedComment #11
jmuzz CreditAttribution: jmuzz commentedGreat!