Issue Feature Closed

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

Lina Wolf 09/15/19, 13:27 updated 09/29/26, 15:29

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

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.