SystemProperty Description fails to work with plugins

Description

If a plugin uses the SystemProperty class, then the plugin can't supply a description for that property, resulting in it showing `— ?property-name?` in the System Properties page.

Environment

None

Activity

Show:

Greg Thomas December 18, 2019 at 11:44 AM

Analysis;
a) The SystemProperty class uses `LocaleUtils.getLocalizedString(...)` to find the description of the property
b) `LocaleUtils.getLocalizedString(...)` assumes a ResourceBundle of `openfire_i18n`
c) Because `openfire_i18n` already exists on the classpath, adding a second one in the plugin will not help.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created December 18, 2019 at 11:42 AM
Updated December 19, 2019 at 7:14 PM
Resolved December 19, 2019 at 7:14 PM

Flag notifications