J4 Issue ?
avatar infograf768
infograf768
21 Apr 2017

Steps to reproduce the issue

Images are worth a thousand words.

multiassoc_modal

js error is
09:11:33.051 TypeError: document.getElementsByName(...)[0] is undefined 1 multiselect.min.js:1:756

code concerned is
document.getElementsByName('checkall-toggle')[0].addEventListener('click', function(event) { var checkall = this;

Normally we should not have a multiselect there therefore I guess the error is in the new admin-associations-modal.js or modal-associations.js
From #14945

@dgt41

avatar infograf768 infograf768 - open - 21 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Apr 2017
Category com_associations JavaScript
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Jun 2017
Status New Confirmed
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Aug 2017
Status Confirmed New
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Nov 2017
Status New Discussion
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar brianteeman
brianteeman - comment - 25 Mar 2018

At what point are you getting the error - its not clear from your movie

avatar infograf768
infograf768 - comment - 26 Mar 2018

When posted, the movie was demonstrating that clicking in the modal did not add the article chosen to the Target and did not close the modal.

The situation has changed. It is now worse: the modal does not even display when clicking on Target or Change target.

avatar brianteeman
brianteeman - comment - 4 Jun 2018

Can you please test with #20659

avatar ReLater
ReLater - comment - 5 Jun 2018

Can you please test with #20659

I've tested with and without 20659 and can confirm:

the modal does not even display when clicking on Target or Change target.

with different error

TypeError: document.getElementById(...) is null bootstrap-init.min.js:1:1351

DEBUG active:

TypeError: document.getElementById(...) is null bootstrap-init.js:102:10

avatar ReLater
ReLater - comment - 5 Jun 2018

Just BTW: "Multilingual Associations: Edit Associations (Articles > Articles)" opens extremely slow. Sometimes it looks like that TinyMCE is loaded several times(?)

avatar infograf768
infograf768 - comment - 5 Jun 2018

Indeed, as @ReLater wrote, we now have an error with bootstrap-init.js

avatar brianteeman
brianteeman - comment - 20 Jul 2018

As far as I can tell this has now been resolved so I am closing - it can always be re-opened if I am mistaken.

avatar brianteeman brianteeman - change - 20 Jul 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-07-20 17:23:17
Closed_By brianteeman
Labels Added: J4 Issue
avatar brianteeman brianteeman - close - 20 Jul 2018

Add a Comment

Login with GitHub to post a comment