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

Duplicate tasks for same benchmark and para should not be creatable (backend) #439

Closed
nickvisut opened this issue Oct 11, 2024 · 2 comments · Fixed by #454
Closed

Duplicate tasks for same benchmark and para should not be creatable (backend) #439

nickvisut opened this issue Oct 11, 2024 · 2 comments · Fixed by #454
Assignees
Labels
bug Something isn't working

Comments

@nickvisut
Copy link
Contributor

nickvisut commented Oct 11, 2024

ACTUAL

If case manager attempts to assign a benchmark to Para "A", then tries to assign the benchmark to Para "A" once more, the database will create a second task with the same benchmark and para


EXPECTED

If case manager attempts to assign a benchmark to Para "A", then tries to assign the benchmark to Para "A" once more, the app should not allow the case manager to actually create a duplicate task assigned to Para "A". Duplicate rows in the tasks table should not be created no matter what. There should be a uniqueness constraint with the scope of benchmark and para.

@nickvisut nickvisut added the bug Something isn't working label Oct 11, 2024
@nickvisut
Copy link
Contributor Author

cc @canjalal

@tam-janice
Copy link

Case manager view

Backend Issue: We can create multiple task assigments though the API

UI issue: Separate task - have the UI properly reflect the assign list

@canjalal canjalal changed the title Duplicate tasks for same benchmark and para can be created Duplicate tasks for same benchmark and para can be created (backend) Oct 17, 2024
@canjalal canjalal changed the title Duplicate tasks for same benchmark and para can be created (backend) Duplicate tasks for same benchmark and para should not be creatable (backend) Oct 17, 2024
@github-project-automation github-project-automation bot moved this from Engineering Code Review to Done in Compass Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants