The problem is very simple: if you try to access $entity->original on a BC entity you get a fatal because the original entity object is treated as an array in the magic getter.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | entity-bc_decorator_fix-1869250-55.patch | 1.17 KB | plach |
Comments
Comment #1
plachThe attached patch adds a check to detect this situation.
Comment #2
fagoTrue, an isset($var['key']) fails if $var is an object. Good fix.
Comment #3
dries commentedCommitted to 8.x. Thanks.
Comment #4.0
(not verified) commentedUpdated issue summary.