Open carlosmbe opened 1 year ago
Same error occurs with mappingVP
Query. However, unlike VPalLabels. It's multiple errors and they're stacked. So dismissing takes time and it looks no change is happening. Unless you're looking at the error messages.
Unable to get tree ranks for a LithoStrat table
Error: Unable to get tree ranks for a GeologicTimePeriod table
After taking a look at the query through Specify 6.
Error does not happen in NHMD Vertebrate Palaeontology
The error message is as follows in VPalLabels:
Unable to get tree ranks for a LithoStrat table Error: Unable to get tree ranks for a GeologicTimePeriod table
Today we discovered that the crash occurs when querying a tree table (LithoStrat) which does not have any tree def items in the discipline. You can recreate this issue by querying LithoStrat or GeologicTimePeriod trees from a discipline that is not paleontology.
Encountered again today testing v7.9-dev
Can recreate in edge (7.9.6), basically the same behavior except if you try the query mappingVP
the errors do not stack
https://github.com/specify/specify7/assets/150940840/697245f4-d9e8-4d80-b653-e9bdaa0d6041
Describe the bug Unable to see saved query. Error message is "Unable to get tree ranks for a LithoStrat table." I would prefer to get said error after requesting a query or count and not before.
To Reproduce Steps to reproduce the behavior:
NHMD Amber
inNHMD Test
aspetrifiedroadkill
Expected behavior See Error after Query or Count. So user can fix Query. Or just not be able to save the broken query.
Screen Recording and Crash Report
https://user-images.githubusercontent.com/53784701/231522591-4f7c680f-9a89-465e-82c8-f07a7ee023de.mp4
Specify 7 Crash Report - 2023-04-12T16_26_00.150Z (1).txt
Desktop:
Database Name:
NHMD Test
Reported By Carlos @carlosmbe