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

BugFix: Overwriting animal sex when editing an animal #1331

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Conversation

mauberti-bc
Copy link
Collaborator

Links to Jira Tickets

  • N/A

Description of Changes

  • When editing an existing animal, the update payload now includes the original animal sex instead of overwriting the sex to "Unknown"

Testing Notes

  • There is no UI for editing the animal sex, but this can be tested by creating an animal, editing the sex in DBeaver, then editing the animal in the UI. Confirm that the update payload includes the original sex instead of UNKNOWN.

@mauberti-bc mauberti-bc added the Ready For Review PR is ready for review label Jul 30, 2024
…ting a previously selected taxon.

Fix bug in species autocomplete that was causing lots of extra re-renders when clearing a selected taxon.
Copy link

sonarcloud bot commented Jul 30, 2024

@NickPhura NickPhura changed the title Fix bug overwriting animal sex when editing an animal BugFix: Overwriting animal sex when editing an animal Jul 30, 2024
@NickPhura NickPhura merged commit a281456 into dev Jul 30, 2024
20 checks passed
@NickPhura NickPhura deleted the animal-sex-bug branch July 30, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants