[ https://issues.apache.org/jira/browse/SYNCOPE-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò closed SYNCOPE-1264. ------------------------------------------- Resolution: Not A Problem If Resource is set to enforce constraints and a constrain is violated, then an error is reported and the propagation is halted. If Resource is set to not enforce constraints and a constrain is violated, no error is reported and the propagation is not halted. > Propagation Task makes ERROR log about mandatory field > ------------------------------------------------------ > > Key: SYNCOPE-1264 > URL: https://issues.apache.org/jira/browse/SYNCOPE-1264 > Project: Syncope > Issue Type: Improvement > Components: core > Affects Versions: 2.0.7 > Reporter: Filipe Silva > Priority: Minor > > I think that, if the mandatory check is used ({color:#333333}Enforce > mandatory condition in the resource{color}) and is a mandatory field in the > propagation mapping rule it should be only reported as an INFO msg ("Not > attempted because there are mandatory attributes without value(s)") and not > an ERROR message > > {noformat} > ERROR > org.apache.syncope.core.provisioning.api.propagation.PropagationTaskExecutor > - Error propagation priority resource > org.apache.syncope.core.provisioning.api.propagation.PropagationException: > Exception during provision on resource AD Resource > java.lang.IllegalArgumentException: Not attempted because there are mandatory > attributes without value(s): [__PASSWORD__] > at > org.apache.syncope.core.provisioning.java.propagation.AbstractPropagationTaskExecutor.createOrUpdate(AbstractPropagationTaskExecutor.java:234) > at > org.apache.syncope.core.provisioning.java.propagation.AbstractPropagationTaskExecutor.execute(AbstractPropagationTaskExecutor.java:424) > at > org.apache.syncope.core.provisioning.java.propagation.DefaultPropagationTaskCallable.call(DefaultPropagationTaskCallable.java:89) > at > org.apache.syncope.core.provisioning.java.propagation.DefaultPropagationTaskCallable.call(DefaultPropagationTaskCallable.java:38) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) > ((...){noformat} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)