cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ville Karavirta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-3756) Camera.getPicture fails when choosing from photo library
Date Tue, 11 Jun 2013 14:18:20 GMT
Ville Karavirta created CB-3756:
-----------------------------------

             Summary: Camera.getPicture fails when choosing from photo library
                 Key: CB-3756
                 URL: https://issues.apache.org/jira/browse/CB-3756
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 2.8.0
            Reporter: Ville Karavirta
            Assignee: Shazron Abdullah


In v2.8.0 on iOS, choosing a photo from library fails always and calls the error callback
with message "(null)".

As far as I could debug it, it fails on line 343 of CDVCamera.m due to data being null. Reason
seems to be that on line 310, the UIImageJPEGRepresentation is assigned to self.data and nothing
is ever assigned to data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message