You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Yunhua Sang (JIRA)" <ji...@apache.org> on 2013/06/26 05:31:21 UTC

[jira] [Updated] (TAP5-2134) A blocked method would like to block other methods too, when there is write access to a persisted field.

     [ https://issues.apache.org/jira/browse/TAP5-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yunhua Sang updated TAP5-2134:
------------------------------

    Attachment: TestPage.java
                TestPage.tml
    
> A blocked method would like to block other methods too, when there is write access to a persisted field.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2134
>                 URL: https://issues.apache.org/jira/browse/TAP5-2134
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Yunhua Sang
>            Priority: Blocker
>         Attachments: TestPage.java, TestPage.tml
>
>
> Version: 5.4-alpha-9
> For example:
> In an event handler there are statements as following, the int1 is persisted, 
>        try {
>             int1 ++;
>             Thread.sleep(10000);
>         } catch (InterruptedException e) {
>             e.printStackTrace();
>         }
> All the methods with same HTTP session will get blocked until that thread is awaken.
> This issue is not existing in 5.3.6.
> I'll attach a test page to show it.
> Thanks.

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