Project: usergrid
Issue USERGRID-35: Cannot delete an entity that has a connection to it
To repro, attempt to delete an entity that has a connection to it such as: curl -X DELETE "https://api.com/fdsafdsa/testapp/dog/Dachsund" Notice that you get error message: {"error":"class_cast","timestamp":1386200483978,"duration":0,"exception":"java.lang.ClassCastException","error_description":"org.usergrid.persistence.cassandra.ConnectedEntityRefImpl cannot be cast to org.usergrid.persistence.cassandra.ConnectionRefImpl"} It is expected that the entity is deleted and the connection is deleted as well.
Story points: 3