cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-11447) Wrong file encoding when taking a picture with the following parameters sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
Date Thu, 28 Jul 2016 13:58:21 GMT

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

ASF GitHub Bot commented on CB-11447:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-plugin-camera/pull/223


> Wrong file encoding when taking a picture with the following parameters sourceType: PHOTOLIBRARY,
destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-11447
>                 URL: https://issues.apache.org/jira/browse/CB-11447
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: Master
>            Reporter: Alexander Sorokin
>            Assignee: Vladimir Kotikov
>            Priority: Critical
>              Labels: android, found-by-ci, iOS, triaged
>
> This is found by Appium tests:
> https://ci.apache.org/builders/cordova-android-osx/builds/2832/steps/running-appium-tests/logs/stdio
> {noformat}
> 1) 
> Camera tests Android. Specs. camera.ui.spec.11.30 Combining options. sourceType: PHOTOLIBRARY,
destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
>   Message:
> Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>   Stack:
>     Error: Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>         at stack (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1577:17)
>         at buildExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1547:14)
>         at Spec.Env.expectationResultFactory (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:638:18)
>         at Spec.addExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:330:34)
>         at Env.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:987:25)
>         at jasmineInterface.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3423:23)
>         at /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/plugins/cordova-plugin-camera/appium-tests/android/android.spec.js:190:25
>         at _fulfilled (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:834:54)
>         at self.promiseDispatch.done (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:863:30)
>         at Promise.promise.promiseDispatch (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:796:13)
> 2) 
> Camera tests Android. Specs. camera.ui.spec.11.32 Combining options. sourceType: PHOTOLIBRARY,
destinationType: FILE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
>   Message:
> Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>   Stack:
>     Error: Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>         at stack (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1577:17)
>         at buildExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1547:14)
>         at Spec.Env.expectationResultFactory (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:638:18)
>         at Spec.addExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:330:34)
>         at Env.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:987:25)
>         at jasmineInterface.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3423:23)
>         at /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/plugins/cordova-plugin-camera/appium-tests/android/android.spec.js:190:25
>         at _fulfilled (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:834:54)
>         at self.promiseDispatch.done (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:863:30)
>         at Promise.promise.promiseDispatch (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:796:13)
> 3) 
> Camera tests Android. Specs. camera.ui.spec.11.46 Combining options. sourceType: PHOTOLIBRARY,
destinationType: NATIVE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
>   Message:
> Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>   Stack:
>     Error: Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>         at stack (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1577:17)
>         at buildExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1547:14)
>         at Spec.Env.expectationResultFactory (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:638:18)
>         at Spec.addExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:330:34)
>         at Env.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:987:25)
>         at jasmineInterface.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3423:23)
>         at /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/plugins/cordova-plugin-camera/appium-tests/android/android.spec.js:190:25
>         at _fulfilled (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:834:54)
>         at self.promiseDispatch.done (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:863:30)
>         at Promise.promise.promiseDispatch (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:796:13)
> 4) 
> Camera tests Android. Specs. camera.ui.spec.11.48 Combining options. sourceType: PHOTOLIBRARY,
destinationType: NATIVE_URI, encodingType: PNG, allowEdit: false, correctOrientation: false
>   Message:
> Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>   Stack:
>     Error: Failed: ERROR: File type mismatch. Expected PNG, got JPEG
>         at stack (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1577:17)
>         at buildExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:1547:14)
>         at Spec.Env.expectationResultFactory (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:638:18)
>         at Spec.addExpectationResult (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:330:34)
>         at Env.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:987:25)
>         at jasmineInterface.fail (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/jasmine/node_modules/jasmine-core/lib/jasmine-core/jasmine.js:3423:23)
>         at /Users/buildbot/slaves/apache/cordova-android-osx/mobilespec/plugins/cordova-plugin-camera/appium-tests/android/android.spec.js:190:25
>         at _fulfilled (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:834:54)
>         at self.promiseDispatch.done (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:863:30)
>         at Promise.promise.promiseDispatch (/Users/buildbot/slaves/apache/cordova-android-osx/cordova-medic/node_modules/wd/node_modules/q/q.js:796:13)
> {noformat}



--
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