-
Notifications
You must be signed in to change notification settings - Fork 36
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
bad tree structure
error when moving Genus to a different Family
#2704
Comments
This issue has been mentioned on Specify Community Forum. There might be relevant details there: https://discourse.specifysoftware.org/t/error-in-s7-tree-moves/949/5 |
Similar to #2707 Might have the same underlying issue |
For this case, it looks like the tree is misconfigured. There is a tree node SQL Command:
Result:
The problem taxa in specify 7 and its child: |
@melton-jason Specify 6 doesn’t throw an error when doing this action |
I believe this is because the error is only thrown when validating node numbers in Specify 7. I don't believe the problem taxa are involved in any way with the two nodes being moved, so Specify 6 probably doesn't care about it. |
What happens to |
This issue has been mentioned on Specify Community Forum. There might be relevant details there: https://discourse.specifysoftware.org/t/error-in-s7-tree-moves/949/7 |
This has since been resolved by Heather C in the Speciforum at (https://discourse.specifysoftware.org/t/error-in-s7-tree-moves/949/8). The only thing to potentially consider is how we want to handle tree checks like this one. Users may have a hard time solving an error like this because any tree action may result in Specify throwing the error once again (as shown in Heather's post). |
@melton-jason could you improve the "bad tree structure" error to tell exactly which node is causing the problem? That would serve well in the future |
Yes, I have gone through and improved the messages for a few Assertion Errors in the backend in #2702, this one included. Very shortly I will push a commit that addresses this one in more depth, and the error message will display a list of all nodes (containing their taxonid and fullname) which caused this error. |
To recreate, attempt the following move:
Move
Arceuthobium
to theLoganiaceae
Family.https://aafcaacdao-edge.test.specifysystems.org/specify/tree/taxon/?conformation=%7E%7E1%7E181107%7E160131%7E160170--%7E159752----
Request URL: http://aafcaacdao-edge.test.specifysystems.org/api/specify_tree/taxon/160170/move/
Reported By: HeatherC at the Community Forum
https://discourse.specifysoftware.org/t/error-in-s7-tree-moves/949/2
The text was updated successfully, but these errors were encountered: