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

"Compress to zip archive" not usable in Dropbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Incorporated
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: Drop box
    • Labels:
      None

      Description

      In Dropbox, Actions / Compress to zip archive at the top-level folder looks like it works, but the resulting file is not visible for download.

      Attempting the action multiple times leads to an error in the logs as below.

      If one does know the exact path and download it via /access/content/group-user/..., the folders are user ids rather than eids, so it's not usable as a zip file to identify student submissions.

      For now, the menu option should be removed from Dropbox.

      org.sakaiproject.exception.IdUsedException id=/group-user/b52c8e21-09c2-49c3-917a-c2afdc1198d2.zip
      at org.sakaiproject.content.impl.BaseContentService.addResource(BaseContentService.java:3535)
      at org.sakaiproject.content.cover.ContentHostingService.addResource(ContentHostingService.java:372)
      at org.sakaiproject.content.impl.util.ZipContentUtil.compressFolder(ZipContentUtil.java:51)
      at org.sakaiproject.content.types.FolderType$FolderCompressAction.initializeAction(FolderType.java:1421)
      at org.sakaiproject.content.tool.ResourcesAction.doDispatchAction(ResourcesAction.java:5955)
      at sun.reflect.GeneratedMethodAccessor6292.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.actionDispatch(VelocityPortletPaneledAction.java:600)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.processAction(VelocityPortletPaneledAction.java:516)
      at org.sakaiproject.cheftool.ToolServlet.doGet(ToolServlet.java:221)
      at org.sakaiproject.cheftool.VelocityPortletPaneledAction.doGet(VelocityPortletPaneledAction.java:1014)
      at org.sakaiproject.cheftool.ToolServlet.doPost(ToolServlet.java:151)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at org.sakaiproject.vm.ComponentServlet.service(ComponentServlet.java:56)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  Unassigned Unassigned
                  Reporter:
                  smarquard Stephen Marquard
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration