incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-308) camera.getPicture default destination has been FILE_URI but in code there is an error that it's wrong FILE_URL not correct FILE_URI
Date Sat, 10 Mar 2012 20:16:57 GMT

     [ https://issues.apache.org/jira/browse/CB-308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Filip Maj updated CB-308:
-------------------------

      Component/s:     (was: Android)
                   CordovaJS
    Fix Version/s: 1.6.0
         Assignee: Filip Maj  (was: Joe Bowser)
    
> camera.getPicture default destination has been FILE_URI but in code there is an error
that it's wrong FILE_URL not correct FILE_URI
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-308
>                 URL: https://issues.apache.org/jira/browse/CB-308
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.5.0
>            Reporter: Lei Gu
>            Assignee: Filip Maj
>              Labels: javascript
>             Fix For: 1.6.0
>
>
> I found that error when I'm reviewing the code on Github.The file is 'framework/assets/js/cordova.android.js'.
> The wrong code snippet in function cameraExport.getPicture is:
>     var destinationType = Camera.DestinationType.FILE_URL;  // wrong const var name,
should be FILE_URI
>     if (typeof options.destinationType == "number") {
>         destinationType = options.destinationType;
>     }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message