Project

General

Profile

Actions

Bug #102668

closed

Consider empty or invalid password policy reference

Added by Oliver Hader 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2023-12-13
Due date:
% Done:

100%

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

Description

In case $GLOBALS['TYPO3_CONF_VARS']['BE']['passwordPolicy'] is disabled or set to a preset that actually does not exist, the backend editing view should not issue JavaScript errors on the missing #password-policy-info element. Currently the following error appears in the browser console:

Uncaught TypeError: Cannot read properties of null (reading 'classList')
    at HTMLInputElement.<anonymous> (password-element.js?bust=2e5226ec73ecf48bcbde72dd5fdea0b0252fc4ee:13:647)

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #97389: Add Password Policy check to FormEngine (TCA type=password) and DataHandlerClosedTorben Hansen2022-04-15

Actions
Actions #1

Updated by Gerrit Code Review 5 months 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/+/82183

Actions #2

Updated by Oliver Hader 5 months ago

  • Related to Feature #97389: Add Password Policy check to FormEngine (TCA type=password) and DataHandler added
Actions #3

Updated by Gerrit Code Review 5 months ago

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

Actions #4

Updated by Oliver Hader 4 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF