cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Wex (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7567) firefox os build compression corrupted certain JPEG files
Date Fri, 20 Feb 2015 19:27:12 GMT

    [ https://issues.apache.org/jira/browse/CB-7567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14329394#comment-14329394
] 

Simon Wex commented on CB-7567:
-------------------------------

This looks good to me. Tested, it produces a valid zip file where previously it did not when
it contained images. R+

> firefox os build compression corrupted certain JPEG files
> ---------------------------------------------------------
>
>                 Key: CB-7567
>                 URL: https://issues.apache.org/jira/browse/CB-7567
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: FirefoxOS
>    Affects Versions: 3.5.0
>         Environment: Cordova 3.5.0-0.2.7, Ionic 1.2.5, Ubuntu 14.04 64-bit
>            Reporter: Hendy Irawan
>         Attachments: Vegetable-Pasta.jpg
>
>
> 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:
> {code}
>   inflating: recipe_photos/Vegetable-Pasta.jpg  
>   error:  invalid compressed data to inflate
>    creating: templates/
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message