You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Svetoslav Neykov (JIRA)" <ji...@apache.org> on 2017/03/23 12:42:41 UTC

[jira] [Created] (BROOKLYN-459) BrooklynObjects replaced with null in Locations config on rebind

Svetoslav Neykov created BROOKLYN-459:
-----------------------------------------

             Summary: BrooklynObjects replaced with null in Locations config on rebind
                 Key: BROOKLYN-459
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-459
             Project: Brooklyn
          Issue Type: Bug
    Affects Versions: 0.11.0
            Reporter: Svetoslav Neykov


BrooklynObjects (excluding Entities, Locations, CatalogItems) set as config on Entities, Locations (and probably referenced anywhere else) get replaced by {{null}} on rebind. The reason is that the objects are deserialized (Mementos created) after constructing the entities, locations but not the rest of the {{BrooklynObjects}}. Therefore any non-location, non-entity {{BrooklynObject}} will be null. {{BrooklynObject}}s are treated separately from regular objects by replacing their value by an ID reference.



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