Martijn Dashorst created WICKET-6249:
----------------------------------------

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