openspp-modules icon indicating copy to clipboard operation
openspp-modules copied to clipboard

Farmer tabs are retaining deleted values from species

Open anthonymarkQA opened this issue 1 year ago • 0 comments

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 avatar Sep 17 '24 07:09 anthonymarkQA