From 1ba1557b77cbf667a1d1c7fbeb347df7d39e23fc Mon Sep 17 00:00:00 2001 From: Rena Tsantouli Date: Mon, 24 Sep 2012 12:17:05 +0000 Subject: [PATCH] git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@58919 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../core/cache/factories/GenericResourceCacheEntryFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/application/framework/core/cache/factories/GenericResourceCacheEntryFactory.java b/src/main/java/org/gcube/application/framework/core/cache/factories/GenericResourceCacheEntryFactory.java index b7cdd36..2d0b885 100644 --- a/src/main/java/org/gcube/application/framework/core/cache/factories/GenericResourceCacheEntryFactory.java +++ b/src/main/java/org/gcube/application/framework/core/cache/factories/GenericResourceCacheEntryFactory.java @@ -87,7 +87,7 @@ public class GenericResourceCacheEntryFactory implements CacheEntryFactory { secondaryType = GCUBEGenericResource.SECONDARYTYPE_VO; else secondaryType = GCUBEGenericResource.SECONDARYTYPE_INFRASTRUCTURE; - query.addAtomicConditions(new AtomicCondition("//SecondaryType", secondaryType), new AtomicCondition("//Body/Scope", scope.toString())); + query.addAtomicConditions(new AtomicCondition("/Profile/SecondaryType", secondaryType), new AtomicCondition("//Body/Scope", scope.toString())); }