Bug #68635

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

Added by Sybille Peters about 4 years ago. Updated over 3 years ago.

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

0%

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

History

#1 Updated by Georg Ringer about 4 years ago

in theory that is true but TYPO3 currently does nowhere those checks and if it is displayed in the frontend or not is completly up to the integrator as still all fields are also available in TypoScript.

#2 Updated by Daniel Goerz over 3 years ago

  • Status changed from New to Closed

Hi Sybille,
as Georg already mentioned there is no way for the linkvalidator to know what fields are actually rendered in the frontend and which fields are not (despite having content). I will close this ticket for now. If you still think this needs to be fixed or have an idea of how to proceed feel free to reopen or relate a new ticket.

Also available in: Atom PDF