Skip to content

Agroal Dev UI data grid not rendered correctly when switching tables #46761

@mbellade

Description

@mbellade

Describe the bug

While working on #46728, I noticed that the data-grid tabs were empty after switching to a table with a different schema (columns) even though the underlying dataset contained values:

Image

Debugging the interface, when switching tables it looks like the columnBodyRenderer's lambda received the old table's column names instead of the new ones, thus accessing the dataset items with the wrong keys.

Expected behavior

The data grid displays the update table's data correctly.

Actual behavior

The data grid tabs are empty.

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions