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

Farmer tabs are retaining deleted values from species #594

Open
anthonymarkQA opened this issue Sep 17, 2024 · 0 comments
Open

Farmer tabs are retaining deleted values from species #594

anthonymarkQA opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working farmer_registry

Comments

@anthonymarkQA
Copy link

Describe the bug
Values for crops, livestock, aquaculture are retained even when deleting the corresponding value from Configuration>species in Farmer Registry

To Reproduce

  1. go to farmer-registry QA
  2. In registry select a farm group
  3. go to crop agriculture tab, and add a new value, select whatever crop you wish.
  4. under purpose column, add anything you want.
  5. after saving. go to Configuration>species
  6. search for the value that you have added from step 3
  7. click on the checkbox beside it >click action>delete.
  8. go back to the particular farmer selected from step 2
  9. click on crop agriculture tab, notice under species column, there is no more value but the line created still exists.

Expected behavior
When a value is deleted from Registry>Configuration>species, it should also remove the already existing relationship with the farm groups that have it.
Screenshots
Image
Image

Additional context

🔔 Note: This ticket should address common considerations without including country-specific content. Please ensure all references are generic and applicable across various contexts.

@anthonymarkQA anthonymarkQA added bug Something isn't working farmer_registry labels Sep 17, 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 farmer_registry
Projects
None yet
Development

No branches or pull requests

1 participant