[richfaces-issues] [JBoss JIRA] (RF-9118) rich:status - when onerror changed by partial refresh, it's definition is ignored for first error request

Brian Leathem (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 22 20:26:09 EST 2011


    [ https://issues.jboss.org/browse/RF-9118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652954#comment-12652954 ] 

Brian Leathem commented on RF-9118:
-----------------------------------

Adding an up-to-date link for the upstream issue:
http://java.net/jira/browse/JAVASERVERFACES-1788

This upstream issue has been marked as closed, with a fixVersion of 2.2
                
> rich:status - when onerror changed by partial refresh, it's definition is ignored for first error request
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: RF-9118
>                 URL: https://issues.jboss.org/browse/RF-9118
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.0.0.Milestone1, 4.1.0.Milestone1
>         Environment: Apache Tomcat 6.0.26
> OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1~9.10.1)
> Metamer Application rev. 18834 ( https://svn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/application )
>            Reporter: Lukáš Fryč
>            Assignee: Jay Balunas
>            Priority: Critical
>              Labels: ci_issue, metamer-ftest-tracked
>             Fix For: 4.Future
>
>
> Steps to reproduce:
> 1. open http://localhost:8080/metamer/faces/components/a4jStatus/instantAttributes.xhtml
> 2. type in "alert('error1') into "onerror" input and hit Tab button (trigger change event)
> (the partial refresh will cause rerendering of the "commonGrid" component containing the "status")
> 3. hit "Send Ajax Requeswt Causing Error" button
> ERROR: no alert is triggered and status is stating "STOP" instead of "ERROR"
> 4. hit button again
> OK: alert is triggered stating "error1" and also status is stating "ERROR"
> This is at least unexpected behaviour and also doesn't match the principle what is used in case of other event listeners, especially "onsuccess".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list