ICEfaces
  1. ICEfaces
  2. ICE-8288

ice:selectInputText - JavaScript error thrown when redirecting upon mouse selection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA
    • Fix Version/s: 3.1, EE-3.0.0.GA_P01
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2

      Description

      When an option is selected with the mouse for the ice:selectInputText and the action method returns a navigation that does a redirect, two JavaScript errors are thrown and the user is not redirected. Here is the error:

      XML Parsing Error: junk after document element.

      If the selection is made with the keyboard, no errors are thrown and the user is correctly navigated to the redirected page.

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case that shows issue.

        Steps:

        • Load welcomeICEfaces.jsf
        • Enter in a value for the input field.
        • Select an option with the mouse. JavaScript errors are displayed in the console.
        • Alternatively if you select a value with the keyboard then it redirects without an error.
        Show
        Arran Mccullough added a comment - Attached test case that shows issue. Steps: Load welcomeICEfaces.jsf Enter in a value for the input field. Select an option with the mouse. JavaScript errors are displayed in the console. Alternatively if you select a value with the keyboard then it redirects without an error.
        Hide
        Arturo Zambrano added a comment -

        Committed fix at revision 29900 in the trunk and at revision 29902 in the maintenance branch.

        The fix consists in avoiding queuing the ActionEvent twice when selecting a value with the mouse.

        Show
        Arturo Zambrano added a comment - Committed fix at revision 29900 in the trunk and at revision 29902 in the maintenance branch. The fix consists in avoiding queuing the ActionEvent twice when selecting a value with the mouse.
        Hide
        Glenn Jones added a comment -

        are those changes already applied to "ICEfaces-EE-3.0.0.GA-bin.zip*"?

        Show
        Glenn Jones added a comment - are those changes already applied to "ICEfaces-EE-3.0.0.GA-bin.zip*"?

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: