ICEfaces
  1. ICEfaces
  2. ICE-9355

Warnings logged to client when namespace.captureSubmit fails to find our hidden forms

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, EE-3.3.0.GA
    • Fix Version/s: EE-3.3.0.GA, 4.0.BETA, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Portals
    • Assignee Priority:
      P2

      Description

      The problem is the following is logged to the browser's client console (this is from Chrome, other browsers may report it differently):

      Uncaught TypeError: Cannot read property 'submit' of null

      The error occurs in this function:

          namespace.captureSubmit = function(id) {
              var f = document.getElementById(id);
              f.nativeSubmit = f.submit;
      ...

      The id passed in is non-null but doesn't match anything in the current page. I'm unable to see any functional impact - perhaps because captureSubmit isn't necessary for those hidden forms?

      The problem is intermittent and doesn't happen every time but to reproduce I have several different portal pages with multiple portlets. I interact with one or more portlets on a page and then move to a different page. Repeating this eventually shows the issue.

        Activity

        Deryk Sinotte created issue -
        Deryk Sinotte made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Ken Fyten made changes -
        Assignee Priority P2 [ 10011 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 3.4 [ 10770 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Deryk Sinotte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: