roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ROL-1917) Missing translation in Server Admin page, results in Struts WARNings
Date Sun, 03 Apr 2011 14:18:05 GMT

     [ https://issues.apache.org/jira/browse/ROL-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Johnson resolved ROL-1917.
--------------------------------

    Resolution: Fixed

With this change I no longer see any Struts WARN messages in the Global Config page.


Author: snoopdave
Date: Sun Apr  3 14:16:18 2011
New Revision: 1088311

URL: http://svn.apache.org/viewvc?rev=1088311&view=rev
Log:
Issue ROL-1917: Missing translation in Server Admin page, results in Struts WARNings
https://issues.apache.org/jira/browse/ROL-1917

- fixed problen: we were calling s:text tag with pre-translated text strings

Modified:
   roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp


> Missing translation in Server Admin page, results in Struts WARNings
> --------------------------------------------------------------------
>
>                 Key: ROL-1917
>                 URL: https://issues.apache.org/jira/browse/ROL-1917
>             Project: Roller
>          Issue Type: Bug
>          Components: User Interface - General
>    Affects Versions: 5.0
>            Reporter: David Johnson
>            Assignee: David Johnson
>            Priority: Minor
>             Fix For: 5.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> From Peter Evans:
> 1 - go to server admin configuration,
> 2 - change anything
> 3 - drown in warnings like:
> WARN  2011-03-29 22:15:38,599 CommonsLogger:warn - The first TextProvider in the ValueStack
(org.apache.roller.weblogger.ui.struts2.admin.GlobalConfig) could not locate the message resource
with key 'Site Name (for main page and RSS feed)'
> WARN  2011-03-29 22:15:38,600 CommonsLogger:warn - The default value expression 'Site
Name (for main page and RSS feed)' was evaluated and did not match a property.  The literal
value 'Site Name (for main page and RSS feed)' will be used.
> WARN  2011-03-29 22:15:38,601 CommonsLogger:warn - The first TextProvider in the ValueStack
(org.apache.roller.weblogger.ui.struts2.admin.GlobalConfig) could not locate the message resource
with key 'Short name (shown in site banner)'
> WARN  2011-03-29 22:15:38,601 CommonsLogger:warn - The default value expression 'Short
name (shown in site banner)' was evaluated and did not match a property.  The literal value
'Short name (shown in site banner)' will be used.
> Now, this might be because I have:
> # Roller dependent libraries
> log4j.category.org.apache.struts2=WARN
> But surely warnings are important somewhere.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message