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

Error exporting assessment results in excel in Samigo

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      When an instructor wants to export an assessment results that have questions with more than 9 options, samigo produce an exception trying to convert String to int

      Error is that "9-" cant be converted into an integer

      The line that is throwing the error is:

      https://github.com/sakaiproject/sakai/blob/20f0987977e9f71f3fd5094af2250b8d0033e02a/samigo/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/listener/evaluation/HistogramListener.java#L1029

      I think that it should be

       ... o2.substring(0, o2.indexOf("-") ...

      instead

      1035 has the same mistake.

       

        Gliffy Diagrams

          Zeplin

            Attachments

            1. Matching-over10sets.xml
              131 kB
              Andrea Schmidt
            2. MultipleChoice-over10choices.xml
              59 kB
              Andrea Schmidt

              Activity

                People

                Assignee:
                jcebellan Jose Cebellán (Entornos de Formación)
                Reporter:
                alex@asic.udl.es Alexandre Ballesté
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration