SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
MIT License
87 stars 27 forks source link

Task - Edit TaxonName - plant name subsequent combination. Edit an existing combination generates an error message #4079

Closed proceps closed 1 month ago

proceps commented 1 month ago

I have a plant name. I created a subsequent combination (genus/species). Saved it. Made it preferred. I cannot edit and save this combination before "Preferred" is deleted.

jlpereira commented 1 month ago

@mjy It seems to be a server restriction

jlpereira commented 1 month ago

Tested and the Interface allows you to edit/delete the combinations, this happens when you try to edit the Preferred name combination, server sends 422 response: "This combination could not be used as a Subject in any TaxonNameRelationships."

I'm not sure if this is the same error that @proceps is getting, but at least that's what I get when I follow the steps.

jlpereira commented 1 month ago

Fixed by https://github.com/SpeciesFileGroup/taxonworks/commit/31c4581983469dc3d5efc497a983019c1689e647