Allow empty path for sub-document array methods

Description

In testing PYCBC-1083, I have a handful of sub-document and data structure tests failing. It looks to be related to passing an empty path to sub-document array methods (an example below) in the latest LCB (I am testing against master to prep for the 3.2 release). Historically an empty path was allowed. I think there is also a create_path option, so if I need to make sure that is supplied I can make the necessary updates to documentation and the Python client. However, I think LCB might still need some updates.

Example Python snippet, works w/ LCB 3.1.4, fails w/ master.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

blocks

Activity

Show:

CB robot October 8, 2021 at 8:26 AM

Build couchbase-server-7.1.0-1450 contains libcouchbase commit bc957c3 with commit message:
: allow empty path for subdocument array methods

Jared Casey June 29, 2021 at 11:06 PM

FYI...

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Story Points

Reporter

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 29, 2021 at 11:05 PM
Updated October 8, 2021 at 8:26 AM
Resolved July 13, 2021 at 8:55 AM
Instabug