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

        Arran Mccullough created issue -
        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.
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment Case11364Example.zip [ 14619 ]
        Attachment Case11364Example.war [ 14620 ]
        Arran Mccullough made changes -
        Salesforce Case [5007000000MIAy9]
        Ken Fyten made changes -
        Fix Version/s 3.1 [ 10312 ]
        Fix Version/s EE-3.0.0.GA_P01 [ 10327 ]
        Assignee Priority P2
        Assignee Arturo Zambrano [ artzambrano ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29900 Tue Jul 10 11:53:35 MDT 2012 art.zambrano ICE-8288 fix to avoid queueing an ActionEvent twice
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputText.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #29902 Tue Jul 10 12:00:52 MDT 2012 art.zambrano ICE-8288 fix to avoid queueing an ActionEvent twice
        Files Changed
        Commit graph MODIFY /icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputtext/SelectInputText.java
        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.
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30008 Mon Jul 16 17:27:38 MDT 2012 art.zambrano ICE-8288 applied to ace component fix to avoid queueing an ActionEvent twice
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntry.java
        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*"?
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: