Skip to content
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

BUG: When trying to updated Requested Service on an Animal in an Assigned SR #990

Open
trevorskaggs opened this issue Feb 17, 2025 · 0 comments
Assignees
Milestone

Comments

@trevorskaggs
Copy link
Owner

trevorskaggs commented Feb 17, 2025

When you try to update the Requested Service for an Animal that in an SR that is currently assigned, you get the following error:

File "/home/sheltuser/shelterly/animals/views.py", line 149, in perform_update
    assigned_request.animals[str(serializer.instance.id)]['status'] = new_status
KeyError: '14'

Disable this field when actively assigned to a DA

@trevorskaggs trevorskaggs added this to the v0.8.2 milestone Feb 17, 2025
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

No branches or pull requests

2 participants