Skip to content

Conversation

@FernandoOjeda
Copy link
Contributor

Fix ticket upload to be able to run with rest and xmlrpc endpoint #1266.

@FernandoOjeda FernandoOjeda self-assigned this Apr 29, 2020
@allmightyspiff
Copy link
Member

After testing this a bit, looks like there were a few problems with this solution.

  1. It breaks the XMLRPC call because the XMLRPC type will be instead of , and I guess the API doesn't deal with that. The files I uploaded with XML were all broken.
  2. Doesn't really fix any other instances that might pop up of json not being able to encode byte strings.

I added a custom JSON encoder to the transports in #1269 that should fix this.

Thanks for taking a look at this so quickly though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants