Description
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).