[
https://issues.apache.org/jira/browse/CB-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/CB-438
> 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 [email protected]
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira