Details
Description
Making some research forĀ SAK-41500 I've discovered you can't always set a group to an assignment in Lessons. Sometimes this stacktrace is thrown:
04-Apr-2019 07:26:35.161 WARN [http-nio-20013-exec-29] org.sakaiproject.lessonbuildertool.service.AssignmentEntity.setGroups ID unused org.sakaiproject.exception.IdUnusedException id: /assignment/a/00b289d4-ca79-4bc4-aed2-2913f5fb237d/1cbb26e0-fd66-4a3e-999c-a6e07d4810fd at org.sakaiproject.assignment.impl.AssignmentServiceImpl.getAssignment(AssignmentServiceImpl.java:1265) at sun.reflect.GeneratedMethodAccessor2643.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:282) 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.$Proxy168.getAssignment(Unknown Source) at org.sakaiproject.lessonbuildertool.service.AssignmentEntity.setGroups(AssignmentEntity.java:617) at org.sakaiproject.lessonbuildertool.tool.beans.SimplePageBean.checkControlGroup(SimplePageBean.java:3173) at org.sakaiproject.lessonbuildertool.tool.beans.SimplePageBean.editItem(SimplePageBean.java:3080) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ....
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- relates to
-
SAK-41642 Student unable to access assignment if group is set through Lessons
-
- Verified
-