Project

General

Profile

Actions

Bug #87500

closed

Site Configuration with an empty static route is possible

Added by Guido Schmechel about 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2019-01-20
Due date:
% Done:

100%

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

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".

Actions

Also available in: Atom PDF