-
Notifications
You must be signed in to change notification settings - Fork 43
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
cannot create catchment/user group with same name even if the first one is voided #858
Closed
Tracked by
#1557
Comments
not a priority so moving it to 8.0 |
@mahalakshme I think it is server related card |
mahalakshme
changed the title
cannot create catchment with same name even if the first one is voided
cannot create catchment/user group with same name even if the first one is voided
Jul 22, 2024
mahalakshme
removed
good first issue
Good for newcomers
bug
Something isn't working
labels
Jul 22, 2024
sachsk
added a commit
to avniproject/avni-server
that referenced
this issue
Jul 22, 2024
…it is voided to support same name
himeshr
added a commit
to avniproject/avni-server
that referenced
this issue
Jul 25, 2024
avniproject/avni-webapp#858 | Rename the catchment and user group if …
|
@sachsk this is in QA failed now |
@mahalakshme i think these changes are not deployed on the staging |
@sachsk please discuss directly with achala. Else it might get missed. |
Screen.Recording.2024-07-31.at.1.02.29.AM.mov |
@AchalaBelokar i am able to create catchment and user group with same name on staging Screen.Recording.2024-07-31.at.8.43.08.PM.movScreen.Recording.2024-07-31.at.8.44.49.PM.1.mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issues:
It seems when checking duplicates(when creating catchment) we are also including voided ones. That should not be the case. It's confusing to the admin user as it says the catchment exists but admin does not see it anywhere.
https://github.com/avniproject/avni-webapp/assets/10369963/dee5b83a-ebdb-4968-9f9a-5756c34e42dd
I am not able to upload the user & catchment via CSV getting error "query did not return a unique result" .
In an implementation there are 2 groups with same name and one is voided.
In the code, we're checking for groups by name, and it seems there are two groups with the same name, causing the code to break. check here
For address levels and sync concepts in 'Users and Catchments' CSV file it is working currently even when duplicates exist with one of them only voided, since we rename the name on voiding.
Acceptance criteria:
Technical points:
The text was updated successfully, but these errors were encountered: