Bug #89182
Updated by Sybille Peters about 4 years ago
Some checks should only be performed if content is relevant. For example: tt_content.bodytext : depends on ctype (e.g. is usually not relevant for plugins) pages.url : depends on doktype The problem is currently, if page or content element types are changed, type is change, the content is not removed from the fields which are now no longer relevant, so in older sites where this had been changed, you may get a lot of "broken links" for content that is not rendered in FE and is irrelevant. h2 Reproduce # Create a content element, e.g. "text & media" # Add a broken link to the content (tt_content.bodytext) # Now change the content type, e.g. to plugin # We recheck for broken links for that page # We look at linkvalidator report h2. Actual result The broken link will be displayed h2. Expected result The broken link in the element "plugin" should not be displayed, because tt_content.bodytext is not relevant if content type is plugin h2. Possible solution It should be possible to get the information, which fields are editable via TCA: 'interface' => 'showRecordFieldList'.