Bug #87500

Site Configuration with an empty static route is possible

Added by Guido Schmechel 5 months ago. Updated 5 months ago.

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

0%

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

History

#1 Updated by Guido Schmechel 5 months ago

  • Description updated (diff)

#2 Updated by Josef Glatz 5 months ago

That affects the entire FormEngine and not only the Site Configuration.

#3 Updated by Riccardo De Contardi 5 months ago

  • Category set to FormEngine aka TCEforms

Also available in: Atom PDF