Skip to content

[BUG] Unable to edit specific TV show and anime #593

@Spencer-0003

Description

@Spencer-0003

Describe the bug
Attempting to edit The Most Notorious "Talker" Runs the World's Greatest Clan (in the anime or tv section, doesn't make a difference) does not show the modal.

https://www.themoviedb.org/tv/258580-the-most-notorious-talker
https://anilist.co/anime/177104/The-Most-Notorious-Talker-Runs-the-Worlds-Greatest-Clan

To Reproduce
Click on the edit button to update progress.

Expected behavior
The edit modal appears.

Screenshots
The Most Notorious "Talker" Runs the World's Greatest Clan
Image

Any other anime
Image

Error logs
Frontend:

SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column 129 of the JSON data
Response Status Error Code 500 from /track_modal/tmdb/tv/258580

Backend:

[2025-06-09 07:45:22 +0000] [789] [ERROR] Internal Server Error: /track_modal/mal/anime/58714
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/django/utils/datastructures.py", line 84, in __getitem__
    list_ = super().__getitem__(key)
            ^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'return_url'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
172.16.3.27 - - [09/Jun/2025:07:45:22 +0000] "GET /track_modal/mal/anime/58714 HTTP/1.1" 500 3942 "https://REDACTED/details/mal/anime/58714/saikyou-no-shienshoku-wajutsushi-de-aru-ore-wa-sekai-saikyou-clan-wo-shitagaeru" "Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0"
  File "/usr/local/lib/python3.12/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/views/decorators/http.py", line 64, in inner
    return func(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/yamtrack/app/views.py", line 438, in track_modal
    "return_url": request.GET["return_url"],
                  ~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/django/utils/datastructures.py", line 86, in __getitem__
    raise MultiValueDictKeyError(key)
django.utils.datastructures.MultiValueDictKeyError: 'return_url'

Yamtrack version: 0.23.1
Database: PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed in devFixed in the development branch

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions