struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeromy Evans (JIRA)" <>
Subject [jira] Resolved: (WW-2592) Improve developer feedback for missing i18n message resources
Date Mon, 14 Apr 2008 02:10:05 GMT


Jeromy Evans resolved WW-2592.

       Resolution: Fixed
    Fix Version/s: 2.1.1

Added helpful WARNs to the TextProviderHelper used by UIBean, Label and Text

WARNING:  [04:28.191] Could not find property [some]
WARNING:  [04:28.211] The first TextProvider in the ValueStack (org.apache.struts2.TestAction)
could not locate the message resource with key ''
WARNING:  [04:28.211] The default value expression 'Sample Of Default Message' was evaluated
and did not match a property.  The literal value 'Sample Of Default Message' will be used.

> Improve developer feedback for missing i18n message resources
> -------------------------------------------------------------
>                 Key: WW-2592
>                 URL:
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Other
>    Affects Versions: Future
>            Reporter: Jeromy Evans
>            Assignee: Jeromy Evans
>            Priority: Minor
>             Fix For: 2.1.1
> Strut2 provides  no useful feedback if a message resource is not found. Turning on debugging
for LocalizedTextutil helps but does not address the common issue of a unexpected or missing
TextProvider in the value stack.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message