Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7567

firefox os build compression corrupted certain JPEG files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Cordova 3.5.0-0.2.7, Ionic 1.2.5, Ubuntu 14.04 64-bit

      Description

      Some image files cannot be compressed properly by build firefoxos. However, during build there is no error.

      During extraction, these affected files will have 0 byte size.

      For example, unzipping the package.zip will emit following error message:

        inflating: recipe_photos/Vegetable-Pasta.jpg  
        error:  invalid compressed data to inflate
         creating: templates/
      

      Example file that cannot be compressed is attached.

      Note that the file is correct in platforms/firefoxos/www/recipe_photos/Vegetable-Pasta.jpg. It's only corrupted inside the ZIP file.

        Attachments

        1. Vegetable-Pasta.jpg
          118 kB
          Hendy Irawan

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ceefour Hendy Irawan
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: