[richfaces-issues] [JBoss JIRA] Updated: (RF-4358) javascript error when selecting non-existent options in combo

Jim R (JIRA) jira-events at lists.jboss.org
Mon Sep 1 12:06:38 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim R updated RF-4358:
----------------------

    Attachment: TestPrj.zip


Simple project to reproduce this error, including a test page and a test bean. In the page, ajax is setup so that when "a" is entered in the textbox, the combo options would be ItemA1 to ItemA5; when "b" is entered in the textbox, the combo options would be ItemB1 to ItemB2.

To reproduce, enter "a" in the textbox, leave the textbox to let ItemA populate the combo, then change the textbox value to "b", and leave the textbox to click the combo, here due to ajax delay the dropdown still shows ItemA's, selecting one of the ItemA option would cause the error.

> javascript error when selecting non-existent options in combo
> -------------------------------------------------------------
>
>                 Key: RF-4358
>                 URL: https://jira.jboss.org/jira/browse/RF-4358
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>         Environment: IE7
>            Reporter: Jim R
>         Attachments: Report.zip, TestPrj.zip
>
>
> When a combo's options are setup via ajax to change based on another ui control, there could be a situation where an out of date option is selected before the options are changed, this selection would cause a javascript error "Unexpected call to method or property access" to occur in IE7.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list