Closed agemooij closed 11 years ago
Could not reproduce this, although the original occurrence might have been in a conflict resolution scenario with the magic X-Riak-Deleted property causing problems.
I added a unit test to verify that empty strings are properly supported as values. See commit cccff56c5c5cedb989a613e2ba7c96ace874bdca
The underlying spray-client
entity.toOption
call used when turning a raw value into aRiakValue
has the ide effect of turning empty values (i.e. the key exists but the value is an empty string) intoNone
instead ofSome(RiakValue("", ...))
.Fix this by using
Option(entity.toString)
instead ofentity.toOption