enhancement
major
minor
major
minor
defect
minor
#26827
No error message when accessing foreign key references if foreign key cannot be resolved
An invalid migration can result in a loss of data consistency, meaning that object identifiers stored in foreign key columns (tl:ByIDReferenceStorageImpl) can no longer be resolved. In this case, accessing such an invalid reference silently returns the value null, which makes debugging extremely difficult.
Instead, as when resolving an association whose other end cannot be found, a `tl:InvalidLinkException` should be thrown.
Test
No test; too time-consuming.