No Code Attached Yet
avatar brianteeman
brianteeman
4 Nov 2024

Steps to reproduce the issue

Create an admin menu module
Create a link of type Components Menu Container

Bug 1

Click on any of the show/expand links (see screenshot)
Image

Bug 2

Click on any of the show/hide buttons (see screenshot
Image

Expected result

Links work

Actual result

Bug 1

Uncaught TypeError: Cannot read properties of null (reading 'innerHTML')
    at treeselectmenu.min.js?7a21e4:4:66

Bug 2

admin-item-edit_container.min.js?47c6ca:4 Uncaught TypeError: s(...).map is not a function
    at HTMLInputElement.h (admin-item-edit_container.min.js?47c6ca:4:332)

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 4 Nov 2024
avatar joomla-cms-bot joomla-cms-bot - change - 4 Nov 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Nov 2024
avatar C-Lodder
C-Lodder - comment - 5 Nov 2024

Bug 2 code fix (map > forEach):

getTreeElements(root).forEach((element) => toggleState(element, selfChecked));

Still looking into Bug 1

PR: #44410

avatar brianteeman brianteeman - change - 5 Nov 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-11-05 12:36:03
Closed_By brianteeman
avatar brianteeman brianteeman - close - 5 Nov 2024
avatar brianteeman
brianteeman - comment - 5 Nov 2024

Closed as we have a PR for testing

Add a Comment

Login with GitHub to post a comment