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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.8
    • 2.7.9
    • 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

          There are no comments yet on this issue.

          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