You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/02/25 00:02:13 UTC

DO NOT REPLY [Bug 27204] New: - HTTP 500 with not existing properties of a specific locale

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27204>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27204

HTTP 500 with not existing properties of a specific locale

           Summary: HTTP 500 with not existing properties of a specific
                    locale
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Utilities
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: stephan.staeheli@gmx.ch


In class org.apache.struts.util.PropertyMessageResources in the method 
getMessage(Locale, String) is a bug. I have installed and started the example 
application (struts-example.war). My locale key is DE and I always get an HTTP 
Status 500 with exception org.apache.jasper.JasperException: Missing message 
for key "index.title". I think the problem is in code line 232. The message 
call "messageKey = messageKey(localeKey, key)" returns the string 
".index.title" and this is not an existing message key. I think the should be 
"messageKey = key".

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org