Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.3.0.Final, 4.4.0.Final, 4.5.0.Final
    • Fix Version/s: 4.7.0.Final
    • Component/s: Distribution
    • Labels:
    • Environment:

      Windows 10/Windows Server 2016

    • Steps to Reproduce:
      Hide
      Unable to find source-code formatter for language: powershell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      Expand-Archive -Path .\keycloak-4.5.0.Final.zip -DestinationPath C:/temp/keycloak
      

      The steps above should cause an error in the PowerShell console.

      Show
      On a Windows 10 PC, download the latest Server Standlone .zip file from https://www.keycloak.org/downloads.html Unzip the file using PowerShell: Unable to find source-code formatter for language: powershell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml Expand-Archive -Path .\keycloak-4.5.0.Final.zip -DestinationPath C:/temp/keycloak The steps above should cause an error in the PowerShell console.
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      The .zip files of the last several releases of Keycloak seem to be invalid (or non-standard in some way). When unzipping the "Standalone Server" .zip file downloaded from here: https://www.keycloak.org/downloads.html, I receive the follow prompt when using 7-Zip:

      Unzipping using PowerShell gives me a similar result:

      PS C:\Users\nfriend\Downloads> Expand-Archive -Path .\keycloak-4.5.0.Final.zip -DestinationPath C:/temp/keycloak
      
      ExpandArchiveHelper : Failed to create file
      'C:\temp\keycloak\keycloak-4.5.0.Final\themes\keycloak\common\resources\node_modules\rcue\dist\img\git-Logo.svg' while
      expanding the archive file 'C:\Users\nfriend\Downloads\keycloak-4.5.0.Final.zip' contents as the file
      'C:\temp\keycloak\keycloak-4.5.0.Final\themes\keycloak\common\resources\node_modules\rcue\dist\img\git-Logo.svg'
      already exists. Use the -Force parameter if you want to overwrite the existing directory
      'C:\temp\keycloak\keycloak-4.5.0.Final\themes\keycloak\common\resources\node_modules\rcue\dist\img\git-Logo.svg'
      contents when expanding the archive file.
      At
      C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:396
      char:17
      + ...             ExpandArchiveHelper $resolvedSourcePaths $resolvedDestina ...
      +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : InvalidOperation: (C:\temp\keycloa...mg\git-Logo.svg:String) [Write-Error], IOException
          + FullyQualifiedErrorId : ExpandArchiveFileExists,ExpandArchiveHelper
      
      

      I use this .zip file as part of a Docker image build. This issue is preventing me from using the .zip file as-is; to work around this issue, I first unzip the .zip file using 7-Zip (clicking "Yes to All" when prompted as in the screenshot above). Then, I re-zip the files using 7-Zip. The resulting .zip file does not cause any issues when unzipped using 7-Zip or PowerShell.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  nathanfriend Nathan Friend
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: