Bug #68635

change type of content element: linkvalidator will show irrelevant dead links

Added by Sybille Peters about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2015-07-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

On changing the type of a content element, text is still kept in the database tt_content record (e.g. bodytext) even though it is not used. The linkvalidator should only check database columns, if they are actually used (usually depends on ctype in tt_content).

Example: change a text content element to shortcut.

Reproduce:

1) create a text element and insert a dead link : Linkvalidator will correctly report this
2) change content type of content element, e.g. to "insert records" (tt_content.ctype='shortcut') and save (tt_content.bodytext still contains the text with the dead link)
3) Linkvalidator will still incorrectly report the dead link, even thought it is not displaed.

Tested in TYPO3 6.2.14, TYPO3 4.5.40

Also available in: Atom PDF