brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair Hodge (JIRA)" <>
Subject [jira] [Created] (BROOKLYN-432) "Unmanage" operation leads to dangling references (rebind errors)
Date Thu, 02 Feb 2017 09:56:51 GMT
Alasdair Hodge created BROOKLYN-432:

             Summary: "Unmanage" operation leads to dangling references (rebind errors)
                 Key: BROOKLYN-432
             Project: Brooklyn
          Issue Type: Bug
    Affects Versions: 0.9.0, 0.10.0, 0.11.0
            Reporter: Alasdair Hodge
            Assignee: Alasdair Hodge

"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

View raw message