Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4464

JavaScript WebSocket Error: "Uncaught TypeError: M is undefined"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-RC1
    • 4.0.0-RC2
    • None
    • None

    Description

      "Uncaught TypeError: M is undefined"

      The JS is minified, so the snippet is here:

      else{setTimeout(N.open,H*R++);}};};M.onerror=function(T){var U=F[P];for(var S=U.length-1;S>=0;S--){var V=U[S];G[V]["onerror"]

      I compared the code and found it matches this section:

      https://github.com/apache/myfaces/commit/712b6c9ddddd3425ad2b58ae3aeaf0277755ecc5#diff-1922615a79308869d0efa08412e8e9bbd804958f62de191eaa9b576aa993b5d6R339

       So I think socket.onerror is in the wrong block?

      Attachments

        Issue Links

          Activity

            People

              volosied Volodymyr Siedlecki
              volosied Volodymyr Siedlecki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: