#86167Having a field in TCA but not in database makes the DatabaseIntegrityCheck crash
Description
Ticket #79992 is somehow related.
sysext/core/Classes/Integrity/DatabaseIntegrityCheck.php line 443 throws a Null Pointer exception if a field is declared in TCA but not actually present in the database. I see two possible solutions here:- only iterate over the intersection between TCA fields and actual database fields
- echo a note that there’s a field declared that is not present and continue the loop with the next field
I prefer solution two, because it’d provide a nice check if there’s some inconsistent/obsolete TCA configuration which should be fixed.