You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kyle Graehl (JIRA)" <ji...@apache.org> on 2014/01/31 21:36:09 UTC

[jira] [Updated] (CB-5959) android getMetadata missing "size"

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

Kyle Graehl updated CB-5959:
----------------------------

    Description: 
According to http://www.w3.org/TR/file-system-api/#idl-def-Metadata, Metadata should have a "size" attribute.

When calling getEntry 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.

  was:
According to http://www.w3.org/TR/file-system-api/#idl-def-Metadata, Metadata should have a "size" attribute.

When calling getEntry with the {create:true} attribute, it creates a new file but it is missing the "size" attribute (which should be in this case, 0)


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