-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding torrent to personal channel fails #6498
Comments
This was introduced in #6453 |
Oh, I was unaware that the entire dictionary is being sent over the REST API. Stripping out the offending dictionary key should fix the issue. @ichorid any particular reason why the whole entry is sent back to the core? Why not simply send a list of infohashes? |
Because of the uniformity of Channels endpoints input and code reuse. This way it does not matter what kind of object you're trying to copy, be it a folder, a channel, a simple torrent entry or any kind of content we may add in the future. Also, channel entries are identified by pk+id pairs, not infohashes. |
I did not realise you added some non-JSON-serializable data to the model's |
Sentry issue: TRIBLER-9Q |
Adding torrent to personal channel on the latest main fails with the following stacktrace:
The text was updated successfully, but these errors were encountered: