Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-42976

Chrome: Uncaught (in promise) TypeError

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Using Chrome, open the browser console
      2. Click on different tools in your site and watch the console

      Expected behavior: No fa-icon.js:38 Uncaught (in promise) TypeError

      Show
      Using Chrome, open the browser console Click on different tools in your site and watch the console Expected behavior: No fa-icon.js:38 Uncaught (in promise) TypeError

      Description

      I'm not seeing this console error in Firefox or Edge, only in Chrome on 21x and displayed for every tool/page clicked on. There don't seem to be any user-facing problems, as far as I can tell.

      fa-icon.js:38 Uncaught (in promise) TypeError: Cannot read property 'replace' of undefined
      at normalizeIconName (fa-icon.js:38)
      at getPrefix (fa-icon.js:35)
      at HTMLElement.getSources (fa-icon.js:41)
      at HTMLElement.firstUpdated (fa-icon.js:54)
      at HTMLElement.performUpdate (updating-element.ts:701)
      at HTMLElement._enqueueUpdate (updating-element.ts:638)
      normalizeIconName @ fa-icon.js:38
      getPrefix @ fa-icon.js:35
      getSources @ fa-icon.js:41
      firstUpdated @ fa-icon.js:54
      performUpdate @ updating-element.ts:701
      _enqueueUpdate @ updating-element.ts:638
      async function (async)
      _enqueueUpdate @ updating-element.ts:627
      _requestUpdate @ updating-element.ts:591
      initialize @ updating-element.ts:416
      initialize @ lit-element.ts:140
      UpdatingElement @ updating-element.ts:438
      LitElement @ lit-element.ts:58
      FaIcon @ fa-icon.js:45
      _clone @ template-instance.ts:98
      __commitTemplateResult @ parts.ts:266
      commit @ parts.ts:217
      update @ template-instance.ts:54
      __commitTemplateResult @ parts.ts:267
      commit @ parts.ts:217
      render @ render.ts:56
      render @ shady-render.ts:269
      update @ lit-element.ts:209
      performUpdate @ updating-element.ts:678
      _enqueueUpdate @ updating-element.ts:638
      async function (async)
      _enqueueUpdate @ updating-element.ts:627
      _requestUpdate @ updating-element.ts:591
      set @ updating-element.ts:313
      (anonymous) @ sakai-maximise-button.js?version=a4cdc3e2:11
      Promise.then (async)
      SakaiMaximiseButton @ sakai-maximise-button.js?version=a4cdc3e2:11
      (anonymous) @ sakai-maximise-button.js?version=a4cdc3e2:73

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    Unassigned
                    Reporter:
                    agschmidt Andrea Schmidt
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration