Actions
Bug #99248
closedFe-Login Plugin throws Error
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'}"/>
Updated by Gerrit Code Review about 2 years 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
Updated by Torben Hansen about 2 years ago
- Related to Bug #98625: Fluid syntax error in login template added
Updated by Torben Hansen about 2 years ago
- Status changed from Under Review to Closed
The issue has been fixed with #98625, so I'm closing the ticket.
Actions