Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-1477

Wrong calculation of zip file entry size in MultipartFileUtil

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • London Release
    • Kohn Release, London Release
    • CPS-Core-REST
    • None

      In MultipartFileUtil.extractYangResourceContent(), the line

      zipFileSizeValidator.updateTotalSizeArchive(totalSizeEntry)

      should be changed to

      zipFileSizeValidator.updateTotalSizeArchive(numberOfBytesRead)

      to avoid double counting.

            achrestin achrestin
            achrestin achrestin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: