X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Finternal%2Fkernel%2FCmsInstance.java;h=311ebadc9849a675c38b7a9d25ced3aea8730cd1;hb=2606b4b145577c4767c37c464e3f517e49a98100;hp=1af4095ce268de20a41c3b1feafa96306f330805;hpb=5b3108fe285bca50565b58b63fa4feddc96c0765;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms/src/org/argeo/cms/internal/kernel/CmsInstance.java b/org.argeo.cms/src/org/argeo/cms/internal/kernel/CmsInstance.java index 1af4095ce..311ebadc9 100644 --- a/org.argeo.cms/src/org/argeo/cms/internal/kernel/CmsInstance.java +++ b/org.argeo.cms/src/org/argeo/cms/internal/kernel/CmsInstance.java @@ -29,7 +29,7 @@ public class CmsInstance implements NodeInstance { @Override public Repository addingService(ServiceReference reference) { Object cn = reference.getProperty(NodeConstants.CN); - if (cn != null && cn.equals(NodeConstants.EGO)) { + if (cn != null && cn.equals(NodeConstants.EGO_REPOSITORY)) { egoRepository = (EgoRepository) bc.getService(reference); if (log.isTraceEnabled()) log.trace("Home repository is available");