Project

General

Profile

Actions

Bug #99248

closed

Fe-Login Plugin throws Error

Added by David Bascom over 1 year ago. Updated over 1 year ago.

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

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

When placing the fe-login plugin on a page, the f:form.password-ViewHelper throws the following error:

(1/1) #1256475113 InvalidArgumentException
The argument "additionalAttributes" was registered with type "array", but is of type "string" in view helper "TYPO3\CMS\Fluid\ViewHelpers\Form\PasswordViewHelper".

Solution:
Problem is a trailing space in the Fluid Template EXT:felogin/Resources/Private/Templates/Login/Login.html before the closing " in line 49:

<f:form.password name="pass" additionalAttributes="{required: 'required', autocomplete: 'current-password'} "/>

Must be:
<f:form.password name="pass" additionalAttributes="{required: 'required', autocomplete: 'current-password'}"/>

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98625: Fluid syntax error in login templateClosed2022-10-16

Actions
Actions #1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/76887

Actions #2

Updated by Torben Hansen over 1 year ago

  • Related to Bug #98625: Fluid syntax error in login template added
Actions #3

Updated by Torben Hansen over 1 year ago

  • Status changed from Under Review to Closed

The issue has been fixed with #98625, so I'm closing the ticket.

Actions

Also available in: Atom PDF