cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sorokin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11447) [Camera Andrpod] Wrong file encoding when taking a picture with the following paramedters sourceType: PHOTOLIBRARY, destinationType: FILE_URI, encodingType: PNG, allowEdit: true, correctOrientation: false
Date Thu, 16 Jun 2016 17:39:05 GMT
Alexander Sorokin created CB-11447:
--------------------------------------

             Summary: [Camera Andrpod] Wrong file encoding when taking a picture with the
following paramedters 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: Android, Plugin Camera
            Reporter: Alexander Sorokin
            Assignee: Alexander Sorokin


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