summaryrefslogtreecommitdiff
path: root/common/AUTHORS
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-07-23 17:21:58 +0200
committerdrebs <drebs@leap.se>2016-08-01 21:09:03 -0300
commit8596668c4bb38251da8891e8fd7a23bcf972c21a (patch)
treee2cd2c0384be73ea64c8901a3a4dc1b1d0e86bca /common/AUTHORS
parentc7b464077215425759ab402fb2314f4e8f9acd7e (diff)
[bug] fix order of multipart serialization when writing to couch
The couch backend makes use of attachments and multipart structure for writing the document to the couch database. For that to work, the order in which attachments are described must match the actual order in which attachments are written to the couch http stream. This was not being properly taken care of, and eventually the json serializer was arbitrarilly ordering the attachments description in a way that it didn't match the actual order of attachments writing. This commit fixes that by using json.dumps() sort_keys parameter and making sure conflicts are always written before content.
Diffstat (limited to 'common/AUTHORS')
0 files changed, 0 insertions, 0 deletions