Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-44084

Cannot edit the duplicate of an assignment

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. As an instructor, create a new assignment and post it.
      2. Click "duplicate" for the newly created assignment.
      3. Click "edit" to edit the new duplicate of the newly created assignment./ Click on the title of the new duplicate.

      Expected Behavior: You will be able to edit the duplicate or to see the detailed information of the new duplicate.

      Current Behavior: Nothing happens.

      Show
      As an instructor, create a new assignment and post it. Click "duplicate" for the newly created assignment. Click "edit" to edit the new duplicate of the newly created assignment./ Click on the title of the new duplicate. Expected Behavior : You will be able to edit the duplicate or to see the detailed information of the new duplicate. Current Behavior : Nothing happens.

      Description

      When I tried to edit or click on the title of a duplicate of an assignment, nothing happened and the page of the assignment remained unchanged. No console error occurred. The error log was the following:

      08-Aug-2020 16:48:03.048 WARN [http-nio-20013-exec-4] org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch Exception calling method doEdit_assignment java.lang.reflect.InvocationTargetException (Caused by java.lang.NullPointerException)java.lang.reflect.InvocationTargetException	at sun.reflect.GeneratedMethodAccessor1851.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch(VelocityPortletPaneledAction.java:767)	at org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:576)	at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:228)	at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1193)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)	at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)	at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:426)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:712)	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:459)	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:352)	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)	at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:508)	at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1500)	at org.sakaiproject.portal.charon.handlers.SiteHandler.doToolBuffer(SiteHandler.java:1254)	at org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent(SiteHandler.java:1088)	at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:499)	at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:275)	at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:163)	at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:857)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)	at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)	at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:679)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836)	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1747)	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Thread.java:748)Caused by: java.lang.NullPointerException	at org.sakaiproject.assignment.tool.AssignmentAction.doEdit_assignment(AssignmentAction.java:9352)	... 54 more
      

      The log message is similar to SAK-44078, though this issue didn't trigger an error report. So I link this issue with SAK-44078. These two might be caused by the same issue.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  fyin2 Fangcong Yin
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration