Ace
Ace

Reputation: 53

Couchbase storing List values wrongly

Basically I have a simple POJO class which has some variables. Whenever I try using .save() it saves all values fine except for List<> values. Im storing to couchbase and the end result is something like this:

  "location": "location",
  "categories": {
    "empty": false
  }

Categories is a List and what I pass into my Postman body is:

"categories": [
  "OneTwoThree"
  ]

but as you can see the serialization isnt done correct and I always get the "empty": false even if its my own class or a String. Any ideas what might be causing this?

Upvotes: 1

Views: 54

Answers (1)

mn_test347
mn_test347

Reputation: 450

This is https://jira.spring.io/browse/DATACOUCH-560. It is fixed in the working 4.1.0 snapshot and will be in the upcoming 4.0.2 release scheduled for tomorrow.

Upvotes: 1

Related Questions