No Code Attached Yet
avatar superknutsel
superknutsel
28 Nov 2024

Steps to reproduce the issue

In the Global configuration go to the Server tab and check the console messages.

Expected result

No errors in the console and being able to change the password for the authentication of the SMTP account.

Actual result

There is an error in the console like this:

Uncaught TypeError: can't access property "getAttribute", toggleButton is null
togglePassword https://domain.com/media/system/js/fields/passwordview.js?a335da:10
togglePassword https://domain.com/media/system/js/fields/passwordview.js?a335da:8
EventListener.handleEvent* https://domain.com/media/system/js/fields/passwordview.js?a335da:79
https://domain.com/media/system/js/fields/passwordview.js?a335da:80
passwordview.js:10:32
togglePassword https://domain.com/media/system/js/fields/passwordview.js?a335da:10
forEach self-hosted:157
togglePassword https://domain.com/media/system/js/fields/passwordview.js?a335da:8
(Async: EventListener.handleEvent)
https://domain.com/media/system/js/fields/passwordview.js?a335da:79
https://domain.com/media/system/js/fields/passwordview.js?a335da:80

And I cannot change the password.

System information (as much as possible)

Joomla 5.2.2, PHP 8.2.5

Additional comments

See this issue : #44362

avatar superknutsel superknutsel - open - 28 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 28 Nov 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Nov 2024
avatar brianteeman
brianteeman - comment - 28 Nov 2024

different error same page if you are not using smtp prevents you changing the database

Image

Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
    at passwordview.min.js?a335da:4:159
    at Array.forEach (<anonymous>)
    at HTMLDocument.c (passwordview.min.js?a335da:4:82)
avatar rdeutz
rdeutz - comment - 28 Nov 2024

There is a mistake in the javascript file.

Could someone test a fix:

  1. Switch debug on.
  2. replace the javascript media/system/js/fields/passwordview.js with passwordview.js.zip please unzip before replacing.
  3. Check
avatar rdeutz rdeutz - change - 28 Nov 2024
Labels Added: Release Blocker
avatar rdeutz rdeutz - labeled - 28 Nov 2024
avatar rdeutz rdeutz - change - 28 Nov 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-11-28 17:12:30
Closed_By rdeutz
avatar rdeutz rdeutz - close - 28 Nov 2024
avatar rdeutz
rdeutz - comment - 28 Nov 2024

Please check #44555, closing here.

avatar richard67 richard67 - change - 22 Jan 2025
Labels Removed: Release Blocker
avatar richard67 richard67 - unlabeled - 22 Jan 2025

Add a Comment

Login with GitHub to post a comment