Github user neykov commented on a diff in the pull request:
https://github.com/apache/incubator-brooklyn/pull/683#discussion_r31911530
--- Diff:
core/src/main/java/brooklyn/entity/rebind/persister/BrooklynMementoPersisterToObjectStore.java
---
@@ -174,11 +176,23 @@ public
BrooklynMementoPersisterToObjectStore(PersistenceObjectStore objectStore,
if (item==null || item.getCatalogItemId()==null) {
return null;
}
- CatalogItem<?, ?> catalogItem =
CatalogUtils.getCatalogItemOptionalVersion(lookupContext.lookupManagementContext(),
item.getCatalogItemId());
+ // See RebindIteration.BrooklynObjectInstantiator.load(), for
handling where catalog item is missing;
+ // similar logic here.
--- End diff --
Changes here won't be needed if `catalogItemId` is patched above.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---