Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1984

Timestamp underflow causes expiration to be set to infinite

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.9
    • 2.7.8
    • library
    • None
    • 1

    Description

      Fixes a casting issue that happens during the unix time conversion - at a point the expiry is converted to a TimeSpan and then the TotalMilliseconds property is used which converts the value to a double (.999) which then is converted to a unsigned integer thus .NET makes it a zero.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty