Issue Bug Closed

#87500Site Configuration with an empty static route is possible

Guido Schmechel 01/20/19, 20:54 updated 04/01/20, 21:14

Description

Error

The problem occurs when opening the sitemap.

(1/1) TypeError
Argument 1 passed to TYPO3\CMS\Core\LinkHandling\LinkService::resolve() must be of the type string, null given, called in \public\typo3\sysext\frontend\Classes\Middleware\StaticRouteResolver.php on line 133

Steps to reproduce

  • Add an Static Route in Site Configuration
  • Change “Route Type” to “Page, File”
  • Backend is reloaded
  • Click “Close” to abort the adding of a route

As it stands, the mandatory field check is not performed by clicking on “Close”.

Reviews 2