Repository: brooklyn-ui
Updated Branches:
  refs/heads/master bac67a0ff -> 8c2eb51dd


Fix issue that was setting the wrong type for adjunct on refresh


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/29fad042
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/29fad042
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/29fad042

Branch: refs/heads/master
Commit: 29fad04216f12025520cddda51e8ec42e08377fa
Parents: 89399d9
Author: Thomas Bouron <[email protected]>
Authored: Thu Oct 11 14:27:56 2018 +0100
Committer: Thomas Bouron <[email protected]>
Committed: Thu Oct 11 15:13:56 2018 +0100

----------------------------------------------------------------------
 .../app/components/providers/blueprint-service.provider.js         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/29fad042/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
----------------------------------------------------------------------
diff --git 
a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
 
b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
index 4e5233c..c802d5e 100644
--- 
a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
+++ 
b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
@@ -228,7 +228,7 @@ function BlueprintService($log, $q, $sce, paletteApi, 
iconGenerator, dslService)
         let deferred = $q.defer();
 
         if (entity.hasType()) {
-            entity.family = family;
+            entity.family = family.id;
 
             let promise = entity.miscData.has('bundle')
                 ? 
paletteApi.getBundleType(entity.miscData.get('bundle').symbolicName, 
entity.miscData.get('bundle').version, entity.type, entity.version)

Reply via email to