Uploaded image for project: 'Couchbase ASP.NET Integration'
  1. Couchbase ASP.NET Integration
  2. CBASP-16

AspNet attempts to reference data in an error condition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0.0-beta3
    • 2.0.0-beta2
    • None

    Description

      CouchbaseSessionStateProvider.cs / SessionStateItem / Load()

      After the bucket.get(), response is checked for KeyNotFound.

      There is no check against Success before consuming header.Value (results in exception, which may be the correct behavior). The conditions should be checked for and an exception should be explicitly thrown.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty