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

Link name in zip file without colon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: OPEN
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 11.4, 12.7, 19.0, 20.0
    • Fix Version/s: None
    • Component/s: Content, Drop box
    • Labels:
      None
    • Environment:
      Windows
    • Property addition/change required:
      Yes
    • Test Plan:
      Hide

      1)In Resources tool, "Add Web Link"

      2)In "Add Web Link" dialog fill web address and website name. For example https://www.apereo.org/ and Apereo

      Two different ways to generate zip:

      A) Zip on the fly

      Property content.zip.enabled must be set to true in sakai.properties

      B)Zip on resources

      3)Extract the zip with windows default extractor. An error is displayed.

      Show
      1)In Resources tool, "Add Web Link" 2)In "Add Web Link" dialog fill web address and website name. For example https://www.apereo.org/  and Apereo Two different ways to generate zip: A) Zip on the fly Property content.zip.enabled must be set to true in sakai.properties B)Zip on resources 3)Extract the zip with windows default extractor. An error is displayed.

      Description

      When the resources zip or dropbox is generated, the links are saved with a file name that contains the URL of the link. This URL contains the colon
      Example: the link called "Apereo" contains the URL https://www.apereo.org/ and generates the file https: __ www.apereo20180123120445
      This gives problems when in windows you extract the zip because the colon is a reserved character for the windows file system.
      We propose to change the name of the link by its name in Sakai.
      In this case the link called "Apereo" would generate a file called "Apereo" for the link to https://www.apereo.org/.

      Cyberduck also has problem to download these links through webdav.

        Gliffy Diagrams

          Zeplin

            Attachments

            1. step1.jpg
              step1.jpg
              28 kB
            2. step2.jpg
              step2.jpg
              36 kB
            3. step3.jpg
              step3.jpg
              26 kB
            4. step4_error.jpg
              step4_error.jpg
              15 kB
            5. zip_in_resources.png
              zip_in_resources.png
              23 kB

              Activity

                People

                • Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  vacercon Valerio Cerni
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:

                    Git Integration