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

Assignments Download Submissions: Empty zip file when siteId contains spaces

    XMLWordPrintable

    Details

    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Test Plan:
      Hide
      1. Create a site using the sites tool, the siteId must contain an space, something like "sakai rocks".
      2. Add the assignments tool and add some students to the site.
      3. Create an assignment.
      4. Go to the submissions list and click "Download All", tick all the checkboxes
      5. You'll download an empty file
      • You may have an existing site with a space in the siteId, that can be tricky these days because we don't allow to create sites with spaces anymore.
      Show
      Create a site using the sites tool, the siteId must contain an space, something like "sakai rocks". Add the assignments tool and add some students to the site. Create an assignment. Go to the submissions list and click "Download All", tick all the checkboxes You'll download an empty file You may have an existing site with a space in the siteId, that can be tricky these days because we don't allow to create sites with spaces anymore.

      Description

      The download submissions feature in ZIP format produces an empty file when the siteIdĀ contains spaces. I totally understand that having spaces in the siteIdĀ is a very bad practice but this may happen in some institutions.

      The log throws this error:

      20-Sep-2018 04:04:23.335 WARN [http-nio-20013-exec-8] org.sakaiproject.assignment.impl.AssignmentServiceImpl.getSelectedGroupUsers Cannot find site aa%20aa null
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code