Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Custom metadata columns are always formatted using toString() in the message browser. #6203

Open
is-simon opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@is-simon
Copy link

Describe the bug
When using other type than STRING for a custom Metadata, the dashboard should use a readable format instead of using the default "toString()", which sometime results in unreadable information.

Expected behavior
metadata_custom_columns_expected

Actual behavior
metadata_custom_columns_actual

Additional context
I've created the "expected" screenshot by adding those 2 lines of code just before this line:

if (modelIndex >= columnMap.size()) {
    columnFactory.configureCustomColumn(column, metaDataColumns.get(modelIndex - columnMap.size()).getType());
}

Note that the configureCustomColumn isn't called anywhere in the actual source code. The call of this function has been removed by this commit like 10 years ago. I'm surprise I didn't find anything about this in the opened issue.

@is-simon is-simon added the bug Something isn't working label May 21, 2024
@is-simon is-simon changed the title [BUG] Custom metadata columns are always formatted as string. [BUG] Custom metadata columns are always formatted using toString(). May 21, 2024
@is-simon is-simon changed the title [BUG] Custom metadata columns are always formatted using toString(). [BUG] Custom metadata columns are always formatted using toString() in the message browser. May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant