When two copies of an object are live and one is destroyed and reload is called with the other, an uncaught Ldp::Gone error is raised as the destroyed flag has not been set on the other copy. The expected behavior when reload is called on a destroyed object is to raise an ActiveFedora::ObjectNotFoundError.
This scenario can occur in Hyrax when the wings module is used; in the persister delete method, a copy of the object is destroyed, and the destroyed flag is not set on the active copy.
When two copies of an object are live and one is destroyed and reload is called with the other, an uncaught Ldp::Gone error is raised as the destroyed flag has not been set on the other copy. The expected behavior when reload is called on a destroyed object is to raise an ActiveFedora::ObjectNotFoundError. This scenario can occur in Hyrax when the wings module is used; in the persister delete method, a copy of the object is destroyed, and the destroyed flag is not set on the active copy.