diff --git a/perun-core/src/main/java/cz/metacentrum/perun/core/impl/AttributesManagerImpl.java b/perun-core/src/main/java/cz/metacentrum/perun/core/impl/AttributesManagerImpl.java index 6e7075dc09..2a6e3849ce 100644 --- a/perun-core/src/main/java/cz/metacentrum/perun/core/impl/AttributesManagerImpl.java +++ b/perun-core/src/main/java/cz/metacentrum/perun/core/impl/AttributesManagerImpl.java @@ -4340,7 +4340,7 @@ private GroupAttributesModuleImplApi getGroupAttributeModule(PerunSession sess, if (attributeModule instanceof GroupAttributesModuleImplApi) { return (GroupAttributesModuleImplApi) attributeModule; } else { - throw new WrongModuleTypeException("Required attribute module isn't FacilityAttributesModule"); + throw new WrongModuleTypeException("Required attribute module isn't GroupAttributesModule"); } } @@ -4376,7 +4376,7 @@ private VoAttributesModuleImplApi getVoAttributeModule(PerunSession sess, Attrib if (attributeModule instanceof VoAttributesModuleImplApi) { return (VoAttributesModuleImplApi) attributeModule; } else { - throw new WrongModuleTypeException("Required attribute module isn't FacilityAttributesModule"); + throw new WrongModuleTypeException("Required attribute module isn't VoAttributesModule"); } } @@ -4394,7 +4394,7 @@ private MemberResourceAttributesModuleImplApi getResourceMemberAttributeModule(P if (attributeModule instanceof MemberResourceAttributesModuleImplApi) { return (MemberResourceAttributesModuleImplApi) attributeModule; } else { - throw new WrongModuleTypeException("Required attribute module isn't FacilityAttributesModule"); + throw new WrongModuleTypeException("Required attribute module isn't ResourceMemberAttributesModule"); } } @@ -4691,7 +4691,7 @@ MemberGroupVirtualAttributesModuleImplApi getMemberGroupVirtualAttributeModule(P * Get UserExtSource attribute module for the attribute. * * @param attribute attribute for which you get the module - * @return instance UserExtSource attribute module, null if the module doesn't exists + * @return instance UserExtSource attribute module, null if the module doesn't exist */ private UserExtSourceVirtualAttributesModuleImplApi getUserExtSourceVirtualAttributeModule(PerunSession sess, AttributeDefinition attribute) { Object attributeModule = getAttributesModule(sess, attribute); @@ -4747,7 +4747,7 @@ public Object getAttributesModule(PerunSession sess, AttributeDefinition attribu //if specific module not exists or attribute has no parameter, find the common one moduleName = attributeNameToModuleName(attribute.getNamespace() + ":" + attribute.getBaseFriendlyName()); Object attributeModule = attributesModulesMap.get(moduleName); - if (attributeModule == null) log.debug("Attribute module not found. Module name={}", moduleName); + if (attributeModule == null) log.trace("Attribute module not found. Module name={}", moduleName); return attributeModule; }