[ 
https://issues.apache.org/jira/browse/BROOKLYN-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849738#comment-15849738
 ] 

ASF GitHub Bot commented on BROOKLYN-432:
-----------------------------------------

Github user alasdairhodge commented on the issue:

    https://github.com/apache/brooklyn-server/pull/548
  
    Linked issue: https://issues.apache.org/jira/browse/BROOKLYN-432


> "Unmanage" operation leads to dangling references (rebind errors)
> -----------------------------------------------------------------
>
>                 Key: BROOKLYN-432
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-432
>             Project: Brooklyn
>          Issue Type: Bug
>    Affects Versions: 0.9.0, 0.10.0, 0.11.0
>            Reporter: Alasdair Hodge
>            Assignee: Alasdair Hodge
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> "Unmanaging" an entity via the web UI does not clean up its locations, 
> leading to orphans in the management context and persisted state. In itself, 
> this is a (minor) bug, but more seriously: orphaned 
> {{JcloudsSshMachineLocation}} instances contain references to the unmanaged 
> entity, which subsequently causes dangling-reference errors on rebind.
> Suggest always pruning orphans from the management context whenever an entity 
> is unmanaged. Can't think of a valid use-case where this isn't the desired 
> behaviour.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to