Feature #89177

Change TsConfig Defaults of Linkvalidator and Enable all core fields containing links

Added by Lina Ourima about 1 month ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Linkvalidator
Target version:
-
Start date:
2019-09-15
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

The linkvalidator's default PageTsConfig currently contains fields that cannot be checked by the linkvalidator anyway like pages:media. And fields that you would expect to work automatically like pages:canonical_url and sys_file_reference:link are missing. At least those core fields that might have an inpacto on the frontend should be in the default PageTsConfig

In the time being only files containing softrefs are working. So the list below shows fields with soft an hardrefs. Some of the hardrefs should be easy to implement as you can already get the expected type (i.e. group of pages or inline of sys_refs) other would require additional configuration to tell you what kind of content is expected and should be testes for (like fe_users:www or sys_filemounts:path)

The following fields in core tables may contain links to pages, files or external urls:

be_groups
  • lockToDomain softref substitute
be_users
  • email softref email[subst]
  • lockToDomain softref substitute
fe_groups
  • felogin_redirectPid hard, group of pages
  • lockToDomain hard, trimmed input
fe_users
  • email hard, trimmed input
  • image hard, inline, sys_file_reference
  • lockToDomain hard, trimmed input
  • www, hard, trimmed input
pages
  • canonical_link, softref, typolink
  • content_from_pid, hard, group, pages
  • email softref email[subst]
  • media, hard, inline, sys_file_reference
  • mount_pid, hard, group of pages
  • og_image, hard, inline, sys_file_reference
  • twitter_image, hard, inline, sys_file_reference
  • url softref url
sys_filemounts
  • path hard, select itemsProcFunc
sys_file_collection
  • files hard, inline sys_file_reference
  • folder hard, select itemsProcFunc
sys_file_reference
  • link, softref, typolink
tt_content
  • bodytext softref typolink_tag,email[subst],url
  • file_collections hard group sys_file_collection
  • header_link, softref typolink
  • image, hard, inline, sys_file_reference
  • media, hard, inline, sys_file_reference
  • pages, hard, group of pages
tx_extensionmanager_domain_model_extension
  • author_email, hard, input
tx_extensionmanager_domain_model_repository
  • wsdl_url, hard, input

Related issues

Related to TYPO3 Core - Bug #83835: Linkvalidator should handle sys_file_reference New 2018-02-09
Related to TYPO3 Core - Bug #52912: Link validator does not check links in input fields Resolved 2013-10-17
Related to TYPO3 Core - Epic #85006: Epic: Improve broken link handling in TYPO3 / linkvalidator rewrite New 2018-02-11
Related to TYPO3 Core - Feature #89182: Extend TSconfig configuration to allow restrictions (where) for fields New 2019-09-16

History

#1 Updated by Lina Ourima about 1 month ago

  • Related to Bug #83835: Linkvalidator should handle sys_file_reference added

#2 Updated by Lina Ourima about 1 month ago

  • Related to Bug #52912: Link validator does not check links in input fields added

#3 Updated by Lina Ourima about 1 month ago

  • Related to Epic #85006: Epic: Improve broken link handling in TYPO3 / linkvalidator rewrite added

#4 Updated by Sybille Peters 29 days ago

  • Related to Feature #89182: Extend TSconfig configuration to allow restrictions (where) for fields added

Also available in: Atom PDF