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

ASF subversion and git services commented on WICKET-6249:
---------------------------------------------------------

Commit 6045149e004efd6073e660473b69f8e0f82cae7a in wicket's branch 
refs/heads/wicket-7.x from [~dashorst]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=6045149 ]

Detaches LDM after exception during load()

When an Exception occurs during the `load()` phase of a
LoadableDetachableModel, the state of the LDM is "ATTACHING", but it
can't ever recover from it through detaching. Detaching should always
happen when the model doesn't have a state (state == null) and the
model hasn't been detached prior during the request. (the inverse
happens for attaching).

Fixes WICKET-6249


> Invalid state of LoadableDetachableModel with exception during load()
> ---------------------------------------------------------------------
>
>                 Key: WICKET-6249
>                 URL: https://issues.apache.org/jira/browse/WICKET-6249
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.4.0
>            Reporter: Martijn Dashorst
>            Assignee: Martijn Dashorst
>             Fix For: 7.5.0
>
>
> When an Exception occurs during the `load()` phase of a 
> LoadableDetachableModel, the state of the LDM is "ATTACHING", but it can't 
> ever recover from it through detaching.
> Detaching should always happen when the model doesn't have a state (state == 
> null) and the model hasn't been detached prior during the request. (the 
> inverse happens for attaching).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to