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

Ján Jamrich commented on RF-12268:
----------------------------------

Added page to simulate this issue (in current Metamer):
http://localhost:8080/metamer/faces/components/a4jQueue/rf-12268.xhtml

zhifu Jin, can you please check this page? (For more info about source see 
Source tab). I'm not sure how your code looks like, maybe you did it another 
way. Because I didn't get any problem you mentioned in description. Can you 
provide more detailed code to simulate this issue?

In short, there is quick help how I used page mentioned above for issue 
simulation:
 1. Click on button labeled: "Ajax action with delay" (there is called dummy 
action handler, which has 3s delay before continue)
 2. Click on button labeled: "Ajax action 2". 
 3. On the right top corner are listed phases and action handlers logs. There 
should appear record like: "* action invoked [start]" and "* action invoked 
[end]". Immediately after it simple "* action invoked" - action handler log for 
second button.

Very similar when check "Introduce Delay" - just get delay before requests 
send. It is better to see what happens. 
                
> 4.1.0.final javascript error : element is null, ajax queue operation
> --------------------------------------------------------------------
>
>                 Key: RF-12268
>                 URL: https://issues.jboss.org/browse/RF-12268
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component
>    Affects Versions: 4.1.0.Final
>            Reporter: zhifu Jin
>            Assignee: Ján Jamrich
>              Labels: richfaces
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> the issue is when have two requests like below will cause js error:"element 
> is null" and browser crash.   
>                1. first request sending, and don't have response arrived.
>                2. the second request start, will add this request into queue.
>                3. first response arrived , the second request will be dequeue 
> and send request, it will find source element first,  and our page had 
> changed, the element is null.

--
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

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to