Skip to content

Batch Edit: Some tree rank relationship fields throw errors in the QB #6315

@lexiclevenger

Description

@lexiclevenger

Describe the bug
Batch Edit for Multiple Trees adds the ability to query on any field from a tree rank, fixing #6011. Some relationship fields added here throw errors after running the query.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Query Builder
  2. Choose a base table that has a tree (Taxon, Storage, Geography, etc.)
  3. Add a field from one of the following related tables (NOT (formatted) or (aggregated)): Definition, CreatedByAgent, ModifiedByAgent, Taxon Citations, Taxon Attributes. Most of the relationships that are hidden by default will throw an error.
  4. Run the Query
  5. See error

Expected behavior
Query results should be returned without errors.

Screenshots

Screen.Recording.2025-03-11.at.1.00.59.PM.mov

Crash Report

Specify 7 Crash Report - 2025-03-11T18_01_37.536Z.txt

Please fill out the following information manually:

Metadata

Metadata

Assignees

Labels

2 - Batch Edit2 - QueriesIssues that are related to the query builder or queries in general2 - TreesIssues that are related to the tree system and related functionalities.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions