incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CB-438) File metadata.modificationTime returns an invalid date
Date Wed, 04 Apr 2012 17:07:22 GMT


Simon MacDonald resolved CB-438.

    Resolution: Fixed

The common JS was changed to expect a timestamp being returned from the native side. The Android
code was returning a JSON object with a modificationTime. The common JS was trying to new
up a Date object using a JSON object which created and "Invalid Date". I changed the Android
code so that it only returns the modificationTime so it now works properly.
> File metadata.modificationTime returns an invalid date
> ------------------------------------------------------
>                 Key: CB-438
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.5.0
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 1.6.0
> VoVa Vc
> Hello everybody, I have metadata troule, when I run metadata function
> I get metadata.modificationTime, but it always equal to Invalid Date.
> Here is the code:
> fileEntry.getMetadata(propertySuccess, fail);
>        function propertySuccess(metadata){
>        alert(metadata.modificationTime)
>        }
> I quess it's js error, it doesn't show any fail message, anyone knows
> how deal with it?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message