Geronimo
  1. Geronimo
  2. GERONIMO-2290

Percent complete goes over 100% when installing configurations

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0.3
    • Component/s: console, core
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      Looks like the UnpackArtifactTypeHandler counts the "uncompressed" bytes, whereas the % is based on the content size returned by the server for the download (the "compressed" byte count).

      Probably should use an InputStream between the download stream and the ZIP stream that performs the count on read(byte[],int,int) and them use that count instead of the uncompressed count.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Aaron Mulder
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development