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

[Bug]: The Comprehensive Task has no Soft Validation for holotype duplication #3535

Closed
mabecabrera opened this issue Aug 28, 2023 · 3 comments
Labels
bug An existing function is broken.

Comments

@mabecabrera
Copy link

Steps to reproduce the bug

1. We create a new specimen from the Comprehensive specimen digitization task. We assing a Holotype type status for it, although it already has an holotype assigned.
2. The is no warning at all in this task, nor a message caming up from the bottom of the screen, nor a Soft Validation.
3. We create it and then check this taxon name from the Browse Nomenclature task. In this task there is a soft validation mentioning that: More than one of primary types are selected. Uncheck the specimens which are not primary types for this taxon.

We think it would be very useful to get some alert and not being able to save a collection object as an holotype when there is already another one.
...

Screenshot

image image image

Expected behavior

No response

Additional Screenshots

No response

Environment

Sandbox

Sandbox Used

Sandcastle

Version

build c1d0568

Browser Used

chrome

@mabecabrera mabecabrera added the bug An existing function is broken. label Aug 28, 2023
@mjy
Copy link
Member

mjy commented Aug 28, 2023

I've said before this really needs to be hard-validated.

@mabecabrera
Copy link
Author

That´s it! A hard validation to stop me from creating that kind of duplications.

@mjy
Copy link
Member

mjy commented Sep 6, 2023

It is possible to make the exact same TypeMaterial with the same object, this shouldn't be possible.

@mjy mjy closed this as completed in de566f4 Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing function is broken.
Projects
None yet
Development

No branches or pull requests

2 participants