[
https://issues.apache.org/jira/browse/WICKET-6249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15526172#comment-15526172
]
ASF subversion and git services commented on WICKET-6249:
---------------------------------------------------------
Commit 165faa3f73df4a2e2c13b51b958f05e4d820d3b6 in wicket's branch
refs/heads/master from [~dashorst]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=165faa3 ]
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: 8.0.0-M2, 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)