cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5959) android getMetadata missing "size"
Date Fri, 07 Feb 2014 15:40:19 GMT

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

ASF subversion and git services commented on CB-5959:
-----------------------------------------------------

Commit 7bf74ba1d7bbe698a9d3594e7eb2e10cbfc55fb1 in branch refs/heads/master from [~iclelland]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=7bf74ba ]

CB-5959: Entry.getMetadata should return a size attribute


> android getMetadata missing "size"
> ----------------------------------
>
>                 Key: CB-5959
>                 URL: https://issues.apache.org/jira/browse/CB-5959
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 3.3.0
>         Environment: android all versions
>            Reporter: Kyle Graehl
>            Assignee: Ian Clelland
>            Priority: Trivial
>              Labels: newbie
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> According to http://www.w3.org/TR/file-system-api/#idl-def-Metadata, Metadata should
have a "size" attribute.
> When calling DirectoryEntry.getFile with the {create:true} attribute, it creates a new
file. When subsequently calling getMetadata on this entry, it is missing the "size" attribute
(which should be in this case, 0). The lastModified is however, present.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message