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

Samigo file upload error in Windows systems.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 19.0, 20.0
    • Fix Version/s: 19.0, 20.0
    • Labels:
      None
    • 19 status:
      Resolved
    • Test Plan:
      Hide
      1. Create an assessment with one file upload question.
      2. Publish it.
      3. Link it in Lessons.
      4. Start the assessment.
      5. Go to that question.
      6. Try to upload a file clicking "Upload".
      7. Check if the file was uploaded.
      Show
      Create an assessment with one file upload question. Publish it. Link it in Lessons. Start the assessment. Go to that question. Try to upload a file clicking "Upload". Check if the file was uploaded.

      Description

      Estado HTTP 500 – Internal Server Error
      Tipo Informe de Excepción
      
      mensaje javax.faces.el.EvaluationException: java.lang.NumberFormatException: For input string: "59\mm"
      
      descripción El servidor encontró un error interno que hizo que no pudiera rellenar este requerimiento.
      
      excepción
      
      javax.servlet.ServletException: javax.faces.el.EvaluationException: java.lang.NumberFormatException: For input string: "59\mm"
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:683)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
      causa raíz
      
      java.lang.IllegalStateException: javax.faces.el.EvaluationException: java.lang.NumberFormatException: For input string: "59\mm"
      	javax.faces.component.MethodBindingValueChangeListener.processValueChange(MethodBindingValueChangeListener.java:108)
      	javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:155)
      	javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:839)
      	javax.faces.component.UIData.broadcast(UIData.java:1158)
      	javax.faces.component.UIData.broadcast(UIData.java:1158)
      	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:835)
      	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1334)
      	com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:77)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:201)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:670)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
      causa raíz
      
      javax.faces.el.EvaluationException: java.lang.NumberFormatException: For input string: "59\mm"
      	com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101)
      	javax.faces.component.MethodBindingValueChangeListener.processValueChange(MethodBindingValueChangeListener.java:97)
      	javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:155)
      	javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:839)
      	javax.faces.component.UIData.broadcast(UIData.java:1158)
      	javax.faces.component.UIData.broadcast(UIData.java:1158)
      	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:835)
      	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1334)
      	com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:77)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:201)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:670)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
      causa raíz
      
      java.lang.NumberFormatException: For input string: "59\mm"
      	java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      	java.lang.Long.parseLong(Long.java:589)
      	java.lang.Long.<init>(Long.java:965)
      	org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean.addMediaToItemGrading(DeliveryBean.java:2571)
      	org.sakaiproject.tool.assessment.ui.bean.delivery.DeliveryBean.addMediaToItemGrading(DeliveryBean.java:2519)
      	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	java.lang.reflect.Method.invoke(Method.java:498)
      	org.apache.el.parser.AstValue.invoke(AstValue.java:247)
      	org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)
      	com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)
      	javax.faces.component.MethodBindingValueChangeListener.processValueChange(MethodBindingValueChangeListener.java:97)
      	javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:155)
      	javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:839)
      	javax.faces.component.UIData.broadcast(UIData.java:1158)
      	javax.faces.component.UIData.broadcast(UIData.java:1158)
      	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:835)
      	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1334)
      	com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:77)
      	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:201)
      	javax.faces.webapp.FacesServlet.service(FacesServlet.java:670)
      	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:475)
      

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  farreri Miguel Pellicer
                  Reporter:
                  farreri Miguel Pellicer
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration