Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-16501

DateTimes using fractional milliseconds are corrupted when they are unmarshalled.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 3.2 (Release)
    • RPC: WebService
    • None
    • Affected OS(s): All OS Platforms
      Browser: Safari
      Language Found: English

    Description

      Steps to reproduce:
      1. Setup a Flex application to use a .NET webservice (or any webservice which uses fractional seconds).
      2. Make a request to a web method which will return a DateTime object.
      3. Using the resultformat="object" attribute of the webservice you should get a date time object back in the client.

      Example Return String: 2008-11-11T09:28:26.303568-08:00

      Actual Results:
      When this string is unmarshalled, it is incorrect. The milliseconds in our example, '303568' are being appended using date.setUTCHours(hours, minutes, seconds, millis), which moves the time forward by over 5 minutes.

      Expected Results:
      The time should be accurately unmarhsalled.

      Workaround (if any):
      In the .NET Webservice, omit the milliseconds from the DateTime object before sending the response.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: