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.
Problem/Motivation
ArrayElement::offsetSet()
checks $value instanceof TypedDataInterface
, but never properly use
s TypedDataInterface
. Therefore that check never succeeds
Proposed resolution
Add a proper use
statement.
Remaining tasks
User interface changes
None.
API changes
None.
Beta phase evaluation
Issue category | Bug |
---|---|
Issue priority | Normal |
Unfrozen changes | Not unfrozen |
Prioritized changes | Priorizited because it is a bug fix |
Disruption | No disruption |
Comment | File | Size | Author |
---|---|---|---|
#1 | 2420383-1.patch | 519 bytes | tstoeckler |
Comments
Comment #1
tstoecklerComment #8
tstoecklerAhh totally forgot about this issue. The code in question was removed by #2298687: Sequence and Mapping implement interfaces incorrectly, make them honest about what they support in the meantime, so closing as a duplicate. Sorry.