Strange Bug: Find Returning Incorrect Value for Query Param Filter

Couchbase version: 4.5.0-2601 Enterprise Edition (build-2601)
OttomanJS Version: ottoman@1.0.4

I’m using query param as shown in the screenshot below, and it’s not returning the correct value. This seems like a serious bug and I’d like to confirm that this is not a user error.

40 AM

Hey @amalhussein,

Could you describe what it is that you are doing, what you expect to happen and what is actually happening?

Cheers, Brett

Hi Brett,

I’m calling find on my model with a query param of calibrationId=xyz and its returning a similar calibrationId which is off by a few letters, but not the correct one.

Hey @amalhussein,

Can you try performing a similar query inside the Couchbase Console? I cannot seem to reproduce this issue (though I am using Couchbase Server 5.0 RC).

Cheers, Brett

Are you using Couchbase Views? Could you show the actual request? You probably need to specify end range or pass the key to filter.