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

Uploading data for an existing list sometimes results in duplicate entries #315

Open
nickdos opened this issue Aug 12, 2024 · 0 comments
Open
Assignees
Labels

Comments

@nickdos
Copy link
Contributor

nickdos commented Aug 12, 2024

Reported by Amanda on Slack (link):

it looks like some lists (mostly the Northern Territory) are returning duplicate entries in the change list, and I’m wondering if there is some processing that is going on in the background that happens after I POST the list to test, and doesn’t finish before I generate the change list.

the change list should only have one species, and show one status update. This is an example for the Northern Territory.

image

According to the upload form, the previous data in the list should be deleted and completely replaced with the contents of the uploaded data/csv.

Note, this scenario is submitting the upload form programmatically (not using the API) and then doing a query just after, for the list contents. This might be causing some sort of race condition, if the name matching is still in progress when the second request arrives. As a dumb guess.

I did a manual upload to replace a small list of mine and I could not replicate the duplicate entries. Contact Amanda for more details in order to replicate this issue - her script reliably trigger this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants