Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5959

Entry.getMetadata missing "size"

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.3.0
    • None
    • cordova-plugin-file
    • android all versions

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            iclelland Ian Clelland
            kzahel Kyle Graehl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Issue deployment