when a new record was created of an unrelated table
$status is 'new'
$id is "NEW6630fb344cce4468724315"
and $parentObject->substNEWwithIDs[$id]was not set. Even though there was TCA configuation error, I think ideally ods_osm should not be affected by it and
use null coalesce in line 57
maybe also return right away if $table is not a table it should handle
Here's what happened: during development, there was a TCA field which did not yet exist in the DB yet. This resulted in the above exception but the exception message was unrelated to the actual problem.
I had an exception on line 57:
when a new record was created of an unrelated table
and
$parentObject->substNEWwithIDs[$id]
was not set. Even though there was TCA configuation error, I think ideally ods_osm should not be affected by it andHere's what happened: during development, there was a TCA field which did not yet exist in the DB yet. This resulted in the above exception but the exception message was unrelated to the actual problem.
Will create PR.