struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Hermanns (JIRA)" <j...@apache.org>
Subject [jira] Closed: (WW-1292) DefaultConfiguration swallows caused exception if webwork.properties is malformed
Date Mon, 01 May 2006 20:04:19 GMT
     [ http://issues.apache.org/struts/browse/WW-1292?page=all ]
     
Rainer Hermanns closed WW-1292:
-------------------------------

    Resolution: Fixed

Fixed in SVN

> DefaultConfiguration swallows caused exception if webwork.properties is malformed
> ---------------------------------------------------------------------------------
>
>          Key: WW-1292
>          URL: http://issues.apache.org/struts/browse/WW-1292
>      Project: Struts Action 2
>         Type: Bug

>   Components: Configuration
>     Versions: WW 2.2.2
>     Reporter: Claus Ibsen
>     Assignee: Rainer Hermanns
>     Priority: Minor
>      Fix For: 2.0

>
> See the WW user forum
> http://forums.opensymphony.com/thread.jspa?messageID=52690&#52690
>     public DefaultConfiguration() {
>         // Create default implementations 
>         // Use default properties and webwork.properties
>         ArrayList list = new ArrayList();
>         try {
>             list.add(new PropertiesConfiguration("webwork"));
>         } catch (Exception e) {
>             log.warn("Could not find webwork.properties");
>         }
> In the log.war we should at least have e as the cause as 2nd parameter
> Change it to:
>             log.warn("Could not find webwork.properties", e);
> And maybe the text "Could not find webwork.properties" should be "Could not find or error
in webwork.properties"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message