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

Gradebook classic / unable to add new items

    Details

    • Type: Bug
    • Status: Verified
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 12.6
    • Fix Version/s: 12.6, 19.0, 20.0 [Tentative]
    • Component/s: Gradebook Classic
    • Labels:
      None
    • Environment:
      Sakai nightly 12x
    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      In Sakai 12x nightly, add gb classic to a site through admin workspace(its stealthed)

      Attempt to add a gradebook item.  The attached stack trace will appear.

      org.sakaiproject.tool.api.ToolException: javax.servlet.ServletException: Exception while setting value for expression : #{item.assignment.released} of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /addAssignment.jsp][Class: javax.faces.component.html.HtmlForm,Id: gbForm][Class: org.apache.myfaces.custom.aliasbean.AliasBean,Id: _idJsp46][Class: org.apache.myfaces.custom.div.Div,Id: bulkAssignments][Class: org.apache.myfaces.component.html.ext.HtmlDataTable,Id: bulkNewAssignmentsTable][Class: javax.faces.component.UICol
      umn,Id: _idJsp49][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp69][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: released]}
              at org.sakaiproject.tool.impl.ActiveToolComponent$MyActiveTool.forward(ActiveToolComponent.java:525)
              at org.sakaiproject.portal.charon.SkinnableCharonPortal.forwardTool(SkinnableCharonPortal.java:1489)
              at org.sakaiproject.portal.charon.handlers.SiteHandler.doToolBuffer(SiteHandler.java:1227)
              at org.sakaiproject.portal.charon.handlers.SiteHandler.bufferContent(SiteHandler.java:1061)
              at org.sakaiproject.portal.charon.handlers.SiteHandler.doSite(SiteHandler.java:490)
              at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:266)
              at org.sakaiproject.portal.charon.handlers.SiteHandler.doGet(SiteHandler.java:154)
              at org.sakaiproject.portal.charon.handlers.WorksiteHandler.doPost(WorksiteHandler.java:69)
              at org.sakaiproject.portal.charon.SkinnableCharonPortal.doPost(SkinnableCharonPortal.java:1171)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
              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:467)
              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:52)
              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:198)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
              at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:685)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
              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: javax.faces.FacesException: Exception while setting value for expression : #{item.assignment.released} of component with path : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /addAssignment.jsp][Class: javax.faces.component.html.HtmlForm,Id: gbForm][Class: org.apache.myfaces.custom.aliasbean.AliasBean,Id: _idJsp46][Class: org.apache.myfaces.custom.div.Div,Id: bulkAssignments][Class: org.apache.myfaces.component.html.ext.HtmlDataTable,Id: bulkNewAssignmentsTable][Class: javax.faces.component.UIColumn,Id: _idJsp49][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp69][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: released]}
              at javax.faces.component.UIInput.queueExceptionInRequest(UIInput.java:423)
              at javax.faces.component.UIInput.updateModel(UIInput.java:408)
              at javax.faces.component.UIInput.processUpdates(UIInput.java:328)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:941)
              at org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.process(AbstractHtmlDataTable.java:590)
              at org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.processColumnChildren(AbstractHtmlDataTable.java:465)
              at org.apache.myfaces.component.html.ext.AbstractHtmlDataTable.processUpdates(AbstractHtmlDataTable.java:641)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:941)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:941)
              at org.apache.myfaces.custom.aliasbean.AliasBean.processUpdates(AliasBean.java:300)
              at javax.faces.component.UIForm.processUpdates(UIForm.java:123)
              at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:941)
              at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:180)
              at org.apache.myfaces.lifecycle.UpdateModelValuesExecutor.execute(UpdateModelValuesExecutor.java:33)
              at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:105)
              at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:80)
              at javax.faces.webapp.FacesServlet.service(FacesServlet.java:143)
              ... 64 more
      Caused by: javax.faces.el.PropertyNotFoundException: Bean: org.sakaiproject.tool.gradebook.GradebookAssignment, property: released (no write method for property!)
              at org.apache.myfaces.el.PropertyResolverImpl.setProperty(PropertyResolverImpl.java:395)
              at org.apache.myfaces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:177)
              at org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:278)
              at javax.faces.component.UIInput.updateModel(UIInput.java:394)
              ... 79 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ottenhoff Sam Ottenhoff
                  Reporter:
                  drramsey Derek Ramsey
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code