You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rainer Hermanns (JIRA)" <ji...@apache.org> on 2006/05/01 22:04:19 UTC

[jira] Closed: (WW-1292) DefaultConfiguration swallows caused exception if webwork.properties is malformed

     [ 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