You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jeromy Evans (JIRA)" <ji...@apache.org> on 2008/04/14 04:10:05 UTC
[jira] Resolved: (WW-2592) Improve developer feedback for missing
i18n message resources
[ https://issues.apache.org/struts/browse/WW-2592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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 'some.invalid.key.so.we.should.get.the.default.message'
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: https://issues.apache.org/struts/browse/WW-2592
> 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.