J4 Issue ?
avatar PhilETaylor
PhilETaylor
19 May 2018

Steps to reproduce the issue

Attempt to insert a ARTICLE using the CMS Content dropdown in the editor in admin when editing a CUSTOM MODULE

Select the article from the list in the modal

Expected result

No error, clicking allows modal to close and insert article in content

Actual result

JS error, modal stays open

Uncaught TypeError: Cannot read property 'checked' of null

screen recording 2018-05-19 at 10 22 pm

System information (as much as possible)

79fd949

Additional comments

similar to #20495 BUT DIFFERENT ENOUGH to raise different issue as different error message and probable cause

avatar PhilETaylor PhilETaylor - open - 19 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 19 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 May 2018
avatar brianteeman
brianteeman - comment - 19 May 2018

Confirmed for article as shown in the video - I assume the mention of contacts in the steps to reproduce is a typo?

avatar PhilETaylor PhilETaylor - change - 19 May 2018
The description was changed
avatar PhilETaylor PhilETaylor - edited - 19 May 2018
avatar PhilETaylor PhilETaylor - comment - 19 May 2018
avatar brianteeman
brianteeman - comment - 19 May 2018

also confirmed for inserting an article in an article

avatar PhilETaylor PhilETaylor - comment - 19 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 May 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 May 2018
Category com_content com_modules JavaScript
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 May 2018
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 20 May 2018
avatar joomla-cms-bot joomla-cms-bot - edited - 20 May 2018
avatar infograf768
infograf768 - comment - 20 May 2018

Tested here inserting article in article or in Custom Module:
The code for the article IS inserted but the modal does not close automatically.
We have also an error:

TypeError: i is null[Learn More]
multiselect.min.js:1:1246
<anonymous>
http://localhost:8888/newfolder/joomla40/media/system/js/multiselect.min.js:1:1246
avatar dgrammatiko
dgrammatiko - comment - 20 May 2018

but the modal does not close automatically

That is a known issue, we're (js group) preparing a solution for this: #19830

Please be patient till we get that API right

avatar brianteeman brianteeman - change - 20 May 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 20 May 2018
avatar Quy
Quy - comment - 4 Jun 2018

Same JS error as #20492 and fixed in PR #20659 except for the auto closing of the modal.

avatar brianteeman
brianteeman - comment - 4 Jun 2018

I can confirm the js is fixed by #20659 and as the modal close is being addressed in #19830 I am going to close this - thanks

avatar brianteeman brianteeman - change - 4 Jun 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-06-04 21:08:43
Closed_By brianteeman
avatar brianteeman brianteeman - close - 4 Jun 2018

Add a Comment

Login with GitHub to post a comment