You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sergei Tkachuk (Jira)" <ji...@apache.org> on 2019/09/24 07:24:00 UTC

[jira] [Comment Edited] (WICKET-6702) AsynchronousPageStore with NotDetachedModelChecker - "Not detached model found" exception on several fast sequential Ajax calls

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

Sergei Tkachuk edited comment on WICKET-6702 at 9/24/19 7:23 AM:
-----------------------------------------------------------------

Attached, see TestHomePage.java.


was (Author: sergio_tkachuk):
Attached.

> AsynchronousPageStore with NotDetachedModelChecker - "Not detached model found" exception on several fast sequential Ajax calls
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6702
>                 URL: https://issues.apache.org/jira/browse/WICKET-6702
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 8.5.0
>            Reporter: Sergei Tkachuk
>            Priority: Major
>         Attachments: QuickStart.zip
>
>
> Preconditions: Application uses AsynchronousPageStore (as it is by default).
> When there are several fast sequential Ajax calls to a component, then a component's LoadableDetachableModel gets attached and detached several times before real async serialization takes place. And at times the serialization is initiated when the model has been already attached once again by a subsequent Ajax call, and not detached yet as the request is still in progress. This causes NotDetachedModelChecker() to throw "Not detached model found!" exception
> Disabling async serialization fixes the problem.
> A test-case and a log attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)