tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dragan Sahpaski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2001) Race condition while loading javascript file via ajax
Date Fri, 14 Sep 2012 12:41:08 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455753#comment-13455753
] 

Dragan Sahpaski commented on TAP5-2001:
---------------------------------------

How did you find this?

Is it with many progressive displays? Because we've been getting exceptions with many progressive
displays on one page but haven't got the time to figure it out yet whats been causing them.


                
> Race condition while loading javascript file via ajax
> -----------------------------------------------------
>
>                 Key: TAP5-2001
>                 URL: https://issues.apache.org/jira/browse/TAP5-2001
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3.5
>            Reporter: Denis Stepanov
>
> Two or more concurrent AJAX requests requires 'example.js' javascript to load:
> First request:
>   Adds script tag with src 'example.js'  ... waits script to load
> Second request:
>   Finds script 'example.js', thinks its already loaded and continues to process request
-> causes error because script is not loaded yet
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message