-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Describe the bug
When displaying the collectionRelType
field as a query combo box, the user is presented with the following error:
HierarchyException at /api/specify_rows/collectionreltype/ queryset model
Collectionreltype has no hierarchy field
This leads to the form being unable to load and the user no longer being able to use the application.

Form XML
<cell type="field" id="collectionRelType" name="collectionRelType" uitype="querycbx" initialize="name=CollectionRelType;isrequired=true;newbtn=false;editbtn=false" isrequired="true"/>
To Reproduce
Steps to reproduce the behavior:
- Go to https://mpabi20240604-edge.test.specifysystems.org/specify/view/collectionobject/2135/?recordsetid=41
- Wait for the record to load
- See crash
Screenshots
Left is [v7.9.3.1](https://mpabi20240604-v793.test.specifysystems.org/specify/view/collectionobject/2135/?recordsetid=41)
and right is [edge](https://mpabi20240604-edge.test.specifysystems.org/specify/view/collectionobject/2135/?recordsetid=41)
(during v7.9.6
testing)

Crash Report
Specify 7 Crash Report - 2024-06-05T17_42_31.246Z.txt
Reported By
University of Michigan
IMPACT: This prevents me from keeping our newest project, the MPABI [michigan pathogen] database from upgrading to the newest versions of Specify [beyond 7.9.1.1].
User reports the following:
Problematic in v7.9.4
Originally working in v7.9.1.1
Tested to seemingly be working ok in v7.9.3.1
but the test was not exhaustive.