Details
-
Type:
Bug
-
Status: RESOLVED
-
Priority:
Major
-
Resolution: Incorporated
-
Affects Version/s: 20.0
-
Fix Version/s: None
-
Component/s: Assignments
-
Labels:None
-
Environment:https://trunk-mysql.nightly.sakaiproject.org, build: 4eae5bd3
-
Test Plan:
Description
Followed the test plan inĀ SAK-42416. The email notification was not sent but I checked both the mail server and the server logs and saw an error:
29-Aug-2019 20:15:00.431 WARN [QuartzScheduler_Worker-2] org.sakaiproject.authz.impl.SakaiSecurity.unlock unlock(): null: null asn.all.groups /site/fb1ff561-30bf-4288-ad89-39d9c561b596 29-Aug-2019 20:15:00.436 ERROR [QuartzScheduler_Worker-2] org.sakaiproject.assignment.impl.reminder.AssignmentDueReminderServiceImpl.execute user=null lock=asn.read resource=9de139ba-bb91-44e0-9a2b-8604bc81f355 org.sakaiproject.exception.PermissionException: user=null lock=asn.read resource=9de139ba-bb91-44e0-9a2b-8604bc81f355 id: 9de139ba-bb91-44e0-9a2b-8604bc81f355 at org.sakaiproject.assignment.impl.AssignmentServiceImpl.checkAssignmentAccessibleForUser(AssignmentServiceImpl.java:2658) at org.sakaiproject.assignment.impl.AssignmentServiceImpl.getAssignment(AssignmentServiceImpl.java:1285) at sun.reflect.GeneratedMethodAccessor3543.invoke(Unknown Source) 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) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:283) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) at com.sun.proxy.$Proxy166.getAssignment(Unknown Source) at org.sakaiproject.assignment.impl.reminder.AssignmentDueReminderServiceImpl.execute(AssignmentDueReminderServiceImpl.java:117) at org.sakaiproject.component.app.scheduler.jobs.ScheduledInvocationJob.execute(ScheduledInvocationJob.java:41) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)