brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svetoslav Neykov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BROOKLYN-459) BrooklynObjects replaced with null in Locations config on rebind
Date Thu, 23 Mar 2017 12:42:41 GMT
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)

Mime
View raw message