#94381Editors dont see broken links because of invalid use of coalesce operator in LinkAnalyzer
Description
Hi,
We have noticed that editors don’t see broken links in the backend because the display of these links through the
@TYPO3\CMS\Linkvalidator\QueryRestrictions\EditableRestriction@ is excluded.
In our case the link entries in the database in the column `element_type` the table `tx_linkvalidator_link` has no value.
This field is actually filled in the method checklinks of the class TYPO3\CMS\Linkvalidator\LinkAnalyzer .
However, the following condition is defined:
@if ($entryValue[‘row’][$typeField] ?? false) {
$record[‘element_type’] = $entryValue[‘row’][$typeField];
}
@
The problem is now, if the type value is 0, this value is never written in the field. This condition would have to be corrected or removed.