Closed papirosko closed 11 months ago
Hi @papirosko, thanks a lot for reporting this bug! Can you share which plugin you used when discovering this issue for testing purposes?
this is my own custom plugin. I register the configuration page like this:
systemConfigurations: [
{
component: BackendConfigDetails,
configType: 'my.plugin.PluginId',
},
],
}));
We have a plugin with configuration component. When we open the plugins section in configuration page, it shows:
This happens because in the https://github.com/Graylog2/graylog2-server/blob/5.1/graylog2-web-interface/src/components/configurations/PluginsConfig.tsx#L88
it tries to get the plugin display name from the
pluginDisplayNames
- a set of predefined names and fails (because this set doesn't contain name for my custom plugin)Expected Behavior
I should be able to specify the
displayName
, or the page should fallback to the plugin id.Current Behavior
Page crashes
Context
Graylog 5.1.1