Losing _attachment when pushing an updated doc to SG
Description
Here is the scenario:
Create a doc with a blob and save into a db.
Push to SG.
Get the same doc from db and update the doc with a key and string value (without changing blob).
Push to SG again.
In step 4, the rev body doesn't include the _attachments as the result from the Wireshark here:
The problem of this behavior is that when pulling the doc back (e.g. to another database), the doc cannot be pulled. There is an error on SG side as follows:
Testing Platforms: CBL-iOS 3.0.0 RC2 SG 2.8.3(12;e54a627) or SG 3.0.0(541;46803d1)
Here is the scenario:
Create a doc with a blob and save into a db.
Push to SG.
Get the same doc from db and update the doc with a key and string value (without changing blob).
Push to SG again.
In step 4, the rev body doesn't include the _attachments as the result from the Wireshark here:
The problem of this behavior is that when pulling the doc back (e.g. to another database), the doc cannot be pulled. There is an error on SG side as follows:
Testing Platforms:
CBL-iOS 3.0.0 RC2
SG 2.8.3(12;e54a627) or SG 3.0.0(541;46803d1)