Skip to content

Crash when using "not equal" operator on by rank tree fields #7982

@grantfitzsimmons

Description

@grantfitzsimmons

Describe the bug
Queries on tree rank fields using the "not equal" operator are causing a crash.

{"exception": "TypeError", "message": "Boolean value of this clause is not defined"

Specify 7 Crash Report - 2026-04-16T13_40_54.429Z.txt

To Reproduce
Steps to reproduce the behavior:

  1. Build a query on Collection Object
  2. Add the line 'Determinations → Taxon → (Rank) → Full Name"
  3. Run query
  4. See the crash

Example query:
Not Empty Contains.json

Image

Reported By
Jordi at MCNB

Metadata

Metadata

Assignees

No one assigned

    Labels

    2 - QueriesIssues that are related to the query builder or queries in general2 - TreesIssues that are related to the tree system and related functionalities.regressionThis is behavior that once worked that has broken. Must be resolved before the next release.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions