Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-451

LookupIn operations raise PathNotFound instead of PathInvalid when a syntactically incorrect path is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.4.4
    • None
    • None
    • None
    • 1
    • SDK32

    Description

      For example,

      collection.upsert('test',{:foo=>10, :bar=>{:nested => 11}})
      res = collection.lookup_in('test', [LookupInSpec.get('bar..nested')])
      res.content(0)
      

      The last line should raise a PathInvalid error, it raises PathNotFound instead

      The following failing FIT tests should pass after this is fixed:

      • pathInvalidGetLookup
      • pathInvalidCountLookup
      • pathInvalidExistsLookup

      Attachments

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

        Activity

          People

            Dimitris.Christodoulou Dimitris Christodoulou
            Dimitris.Christodoulou Dimitris Christodoulou
            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