?
avatar roland-d
roland-d
9 Sep 2017

Steps to reproduce the issue

  1. Enable Inspector in Chrome
  2. Go to the Control Panel in Joomla
  3. Wait for the popup notifications to show
  4. Check the Console tab of the Inspector
  5. The error is shown there

Expected result

No errors

Actual result

Error is shown:
Uncaught TypeError: Cannot read property 'style' of null
at HTMLDocument. (flying-focus.min.js?7a338ea4a2cd5df7edb93e870b062de1:1)
at HTMLElement.connectedCallback (joomla-alert.min.js?7a338ea4a2cd5df7edb93e870b062de1:1)
at Object.e.renderMessages (core.min.js?7a338ea4a2cd5df7edb93e870b062de1:1)
at onSuccess (extensionupdatecheck.js?7a338ea4a2cd5df7edb93e870b062de1:47)
at XMLHttpRequest.o.onreadystatechange (core.min.js?7a338ea4a2cd5df7edb93e870b062de1:1)
flying-focus.min.js?7a338ea4a2cd5df7edb93e870b062de1:1

The error is a little different in FireFox:
TypeError: l is null[Learn More] flying-focus.min.js:1:2227
http://joomla.dev/media/vendor/flying-focus-a11y/js/flying-focus.min.js:1:2227
connectedCallback http://joomla.dev/media/system/webcomponents/joomla-alert.min.js:1:4749
r.prototype.connectedCallback http://joomla.dev/media/system/js/polyfills/webcomponents/webcomponents-ce.min.js:1:4754
f http://joomla.dev/media/system/js/polyfills/webcomponents/webcomponents-ce.min.js:1:1326
http://joomla.dev/media/system/js/polyfills/webcomponents/webcomponents-ce.min.js:1:10423
e.renderMessages http://joomla.dev/media/system/js/core.min.js:1:3348
onSuccess http://joomla.dev/media/plg_quickicon_extensionupdate/js/extensionupdatecheck.js:47:9
e.request/o.onreadystatechange http://joomla.dev/media/system/js/core.min.js:1:7584

System information (as much as possible)

Joomla 4.0 Revision: ab82c24
Chrome / FireFox
MacOS 10.12.6 (Sierra)
PHP 7.1.6

@dgt41 Something for you?

avatar roland-d roland-d - open - 9 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Sep 2017
avatar dgt41
dgt41 - comment - 9 Sep 2017

I think there is already an open issue for this somewhere. FWIIW i proposed to remove this sugar on top of a broken implementation with a polyfill for CSS4 :focus-ring: #15906

avatar brianteeman
brianteeman - comment - 9 Sep 2017

Closed as a duplicate of 17100

avatar brianteeman brianteeman - change - 9 Sep 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-09-09 20:58:06
Closed_By brianteeman
avatar brianteeman brianteeman - close - 9 Sep 2017
avatar dgt41
dgt41 - comment - 9 Sep 2017

@brianteeman 17100 was a different bug

avatar roland-d
roland-d - comment - 10 Sep 2017

Re-opening since it is a different bug. The patch for #17100 is already in the codebase when I saw this happen.

avatar roland-d roland-d - change - 10 Sep 2017
Status Closed New
Closed_Date 2017-09-09 20:58:06
Closed_By brianteeman
avatar roland-d roland-d - reopen - 10 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Sep 2017
Category JavaScript
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Sep 2017
Status New Discussion
avatar C-Lodder
C-Lodder - comment - 21 Sep 2017

PR: #18048

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Sep 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-09-21 14:59:07
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 21 Sep 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 21 Sep 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 21 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Sep 2017

closed as having Pull Request #18048


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17915.

Add a Comment

Login with GitHub to post a comment