-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.11.2, 6.13.4, 6.10.3, 6.14.3, 6.15.1
-
None
-
4
-
Severity 3 - Minor
-
1
-
Issue Summary
When editing the .properties file of a plugin to customize text as described in How to edit bundled or system plugins, the customized text does not display.
Environment
Confluence 6.10 and above
Steps to Reproduce
- Stop Confluence
- Edit the text in the .properties file within a plugin's .jar file as described in How to edit files in Confluence JAR files
- Clear the Plugin Cache
- Clear Browser's cache
- Restart Confluence
Expected Results
Edit the appropriate text for key entries in the .properties file, see the change in the web UI.
Actual Results
The default text of the key is still shown, the customized text is not.
Notes
This works in Confluence 6.9 and below.
Workaround
This issue can be circumvented by creating a new key in the .properties file and then changing references elsewhere in the plugin to use this key instead of the default key.
- Stop Confluence
- Make a backup copy of the original .jar file
- Expand the contents of the .jar file
- Locate the text value you wish to change in the .properties file, notate the name of this key
- Create a new key with a similar name, adding a ".custom" to the key's name and customize the text
- Search the contents of the files expanded from the .jar for the original key's name
- Replace each reference found to the new key name in each of these files, save
- Recompress the .jar file together with these edited files
- Copy the customized .jar file back to its original location, overwriting the original
- Clear the Plugin Cache
- Clear Browser's cache
- Restart Confluence
- mentioned in
-
Page Loading...