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.
The committed patch to #1084268: Exception: Invalid field name given. in FieldCollectionItemEntity worked around two core bugs. This ticket is to remind us to remove the workaround once the core issues are resolved.
Here is the current comments describing the workaround in the code:
// Workaround issues http://drupal.org/node/1084268 and
// http://drupal.org/node/1264440:
// Check if the required property is set before checking for the field's
// type. If the property is not set, we are hiting a PDO or a core's bug.
// FIXME: Remove when #1264440 is fixed and the required PHP version is
// properly identified and documented in the module documentation.
Comments
Comment #1
jmuzz CreditAttribution: jmuzz commentedI looked these issues over and didn't find a second core bug that needs to be fixed for it. As far as I can tell it's just this one, which replaced the duplicate referred to in the summary.
#1476782: DatabaseStatementPrefetch::current PHP function array_unshift() are used incorrectly