-
Notifications
You must be signed in to change notification settings - Fork 20
contentType property on PutAttachmentOperation is ignored #108
Comments
hmmm, I think we can fix this properly as part of the API review with the API guidelines in mind as part of issue #96. We'll need to determine if its a fix that we should back port or not. @tfrank64 Do you know how long you'll be tied to 06/06 snapshot? |
@rhyshort Probably the next couple weeks. After that, we will shift to the 06/20 snapshot. The timing is somewhat based on the projects we depend on. |
@rhyshort Thanks for the update! Waiting for 0.4.0 could work for us. Do you guys have en ETA for the 0.4.0 release that supports the Swift 06-20 binaries? |
Hopefully we can do it this week, but if not it will be early next week. |
@rhyshort Thanks for the update. That's good news. Look forward to the release. |
@rhyshort Just checking in, are we still on track for a release early this week? |
I'm not sure, but it doesn't look like it right now, best to keep an eye on #109 once we have finished reviewing and merged it, we should be able to cut a release. Assuming there is nothing else in the backlog that must go into it. |
Now that #96 is resolved this should be fixed. |
Thanks for the fix, v0.4 is integrated in our project and is working well. |
Please include the following information in your ticket.
When the operation executes, it always falls back to the default implementation of
contentType
which returns"application/json"
. The effect of this bug now is that every attachment is of type"application/json"
. This seems to happen because you aren't adopting the same property created inCouchOperation
since that one is just a String, but the one in PutAttachment is an optional String. I got around this issue locally by makingcontentType
a Stringand making the validate check look like this:
The text was updated successfully, but these errors were encountered: