Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0F9B3200B92 for ; Tue, 23 Aug 2016 09:25:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0DDB5160AA5; Tue, 23 Aug 2016 07:25:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 71422160AC3 for ; Tue, 23 Aug 2016 09:25:22 +0200 (CEST) Received: (qmail 48241 invoked by uid 500); 23 Aug 2016 07:25:21 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 48176 invoked by uid 99); 23 Aug 2016 07:25:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2016 07:25:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4FAFF2C0032 for ; Tue, 23 Aug 2016 07:25:21 +0000 (UTC) Date: Tue, 23 Aug 2016 07:25:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11368) resolveLocalFileSystemURL cannot handle url returned by contacts plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 23 Aug 2016 07:25:23 -0000 [ https://issues.apache.org/jira/browse/CB-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432290#comment-15432290 ] ASF GitHub Bot commented on CB-11368: ------------------------------------- Github user vladimir-kotikov commented on the issue: https://github.com/apache/cordova-plugin-file/pull/192 LGTM > resolveLocalFileSystemURL cannot handle url returned by contacts plugin > ----------------------------------------------------------------------- > > Key: CB-11368 > URL: https://issues.apache.org/jira/browse/CB-11368 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin File > Reporter: zhuisui > Labels: triaged > > navigator.contacts.pickContact returns photo url like {{content://com.android.contacts/contacts/1/photo}}, which cannot be resolved by resolveLocalFileSystemURL with {{FileError code: 1000}}. I inspect code in the {{ContentFileSystem.java}}, and find the method {{resourceSizeForCursor}} cannot return correct value. The problem is, that cursor doesn't have a column named _size. I have given permission of File and Contacts. -- 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