[ http://issues.apache.org/struts/browse/WW-1292?page=all ]
Rainer Hermanns updated WW-1292:
--------------------------------
Fix Version: 2.0
Assign To: Rainer Hermanns
> 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췒
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]