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

Kyle Graehl commented on CB-5959:
---------------------------------

    readonly attribute Date               modificationTime;
    readonly attribute unsigned long long size;

Yup, looks that way to me too. I wasn't using modificationTime in my app so I 
didn't catch that.

> 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)

Reply via email to