Skip to content

Table: prevent error when hierarchical table contains orphaned rows#1681

Open
bschwarzent wants to merge 1 commit intoreleases/24.2from
features/bsh/24.2/301956_table_orphan_rows
Open

Table: prevent error when hierarchical table contains orphaned rows#1681
bschwarzent wants to merge 1 commit intoreleases/24.2from
features/bsh/24.2/301956_table_orphan_rows

Conversation

@bschwarzent
Copy link
Copy Markdown
Member

When table data is hierarchical, rows can define other rows as their parent. If that reference is invalid (i.e. a key that does not exist), an error was thrown in Table#rebuildTreeStructureInternal. This causes the table to be unusable for the user. Because invalid parent references can happen due to row limits, we should handle this case more gracefully. The easiest solution is to simply add a row filter that hides such orphaned rows.

301956

@bschwarzent bschwarzent self-assigned this Aug 22, 2025
When table data is hierarchical, rows can define other rows as
their parent. If that reference is invalid (i.e. a key that does not
exist), an error was thrown in Table#rebuildTreeStructureInternal.
This causes the table to be unusable for the user. Because invalid
parent references can happen due to row limits, we should handle this
case more gracefully. The easiest solution is to simply add a row
filter that hides such orphaned rows.

301956
@bschwarzent bschwarzent force-pushed the features/bsh/24.2/301956_table_orphan_rows branch from 5a57b42 to f130773 Compare August 22, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant