AnsweredAssumed Answered

Error when imported user send mail via rule

Question asked by ribz33 on Jan 11, 2007
Latest reply on Jul 26, 2007 by andy

I have a rule which send mail when user add content.
I don't understand why but when an imported user form ldap, add document (so rule send a mail), content is added correctly but i dont have mail and i have this error : Could not find user by userName: myimporteduser

But when i do same thing with internal alfresco user its working fine !

And for "myimporteduser" all system its working well(login,etc.) except that !

Full error : Could not find user by userName: myimporteduser
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
   at java.lang.reflect.Method.invoke(
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
   at $Proxy16.setCurrentUser(Unknown Source)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
   at java.util.concurrent.ThreadPoolExecutor$
Caused by: net.sf.acegisecurity.providers.dao.UsernameNotFoundException: Could not find user by userName: myimporteduser
   … 15 more