-
Bug
-
Resolution: Fixed
-
Medium
-
3.0
-
None
-
EAC nodes 1 & 2 running 3.0-rc1
The new biggest source of log errors as at 28/05/09 is com.atlassian.confluence.util.i18n.DefaultI18NBean's getText(String key, Object[] args) method:
230 ERROR [confluence.util.i18n.I18NBean.getText] Error formatting internationalized string with key: This is the {gliffy} macro which converts Gliffy Attachments to images you can see on a page 230 ERROR [confluence.util.i18n.I18NBean.getText] Error formatting internationalized string with key: Required. The {mockup} macro displays the ui mockup in the page.
The URL for these errors is /plugins/macrobrowser/browse-macros.action so it looks like a problem with the Jsonation of the macro's description Message object. Namely, that getText(Message message) in DefaultI18NBean delegates to getText(String key, Object[] args) with the message arguments which calls java.text.MessageFormat.format(result, args) even if the args == null. As the message text contains a placeholder
{glffy}or
{mockup}an IllegalArgumentException is thrown.
Couldn't the MessageFormat.format call be skipped if the Message args are null or an empty array? Even if the message text could be parsed by MessageFormat the placeholder substitutions wouldn't do anything.
- is duplicated by
-
CONFSERVER-16703 Annoying log spam [confluence.util.i18n.I18NBean] getText Error formatting internationalized string with key
-
- Closed
-
-
CONFSERVER-18142 Update Compatibility Macros for Macro Browser
-
- Closed
-
[CONFSERVER-15946] I18NBean getText method spamming EAC logs
Workflow | Original: JAC Bug Workflow v3 [ 2893628 ] | New: CONFSERVER Bug Workflow v4 [ 2985679 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2774580 ] | New: JAC Bug Workflow v3 [ 2893628 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2734407 ] | New: JAC Bug Workflow v2 [ 2774580 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399816 ] | New: JAC Bug Workflow [ 2734407 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2298826 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2399816 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233517 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2298826 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194908 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2233517 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1926352 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194908 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1728097 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1926352 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1684388 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1728097 ] |