Project

General

Profile

Actions

Bug #87775

closed

Exceptions thrown for unconfigured login form

Added by Andreas Wolf almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
felogin
Target version:
-
Start date:
2019-02-24
Due date:
% Done:

100%

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

Description

When adding a new login form to a fresh site, several exceptions are thrown as the redirect URL is null and not a string. The exceptions come from RedirectUrlValidator::isValid().

Steps to reproduce:

  1. create a new site with a basic template
  2. create a folder for users, configure the constant styles.content.loginform.pid with that folder's uid
  3. insert a login form on the start page, w/o any configuration in the flexform
  4. open the start page – boom, you're greeted with an exception

Bonus track: if the constant is not configured, the page is rendered, but the login form shows "oops, an error occurred" because the PID is not configured (as you then can see from the log).

Actions

Also available in: Atom PDF