[
https://issues.apache.org/jira/browse/USERGRID-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095896#comment-14095896
]
Strong Liu commented on USERGRID-35:
------------------------------------
I saw same issue before but can't remember how do i workarounded it :(
let me check once i have some time.
> Cannot delete an entity that has a connection to it
> ---------------------------------------------------
>
> Key: USERGRID-35
> URL: https://issues.apache.org/jira/browse/USERGRID-35
> Project: Usergrid
> Issue Type: Bug
> Components: Stack
> Reporter: Rod Simpson
> Fix For: 1.1
>
>
> "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."
--
This message was sent by Atlassian JIRA
(v6.2#6252)