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

Emond Papegaaij commented on WICKET-6702:
-----------------------------------------

[~svenmeier] as you can see, I've pushed a change to swap the order of 
serialization and async to make the serialization happen synchronously. I've 
only made this change on Wicket 9, as the codebase in Wicket 8 is completely 
different in this area. Unfortunately, I do not have a working testcase on 
Wicket 8 to reproduce the issue and I lack the time to dive into this. What do 
you think we should do with Wicket 8?

About the comment from Tobias, I can file a new ticket, but unfortunately, the 
same applies: I don't have the time at the moment to pursue this. What do you 
think? Is it even feasible to close the request while prior to serialization 
(maybe even prior to detach)?

> 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, 9.0.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)

Reply via email to