Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-285 Here is an overview of the issue: --------------------------------------------------------------------- Key: WW-285 Summary: Checking for null attributes in WebWorkMockPageContext Type: Improvement Status: Assigned Priority: Minor Project: WebWork Components: Tests Assignee: Patrick Lightbody Reporter: Fredrik Lindgren Created: Sun, 31 Aug 2003 9:12 PM Updated: Sun, 31 Aug 2003 9:12 PM Description: The javax.servlet.jsp.PageContext will throw a NullPointerException if either name or object is null when calling setAttribute(String name, Object attribute). Currently the WebWorkMockPageContext accepts null values which means that the tests using it could pass while the code would still fail in a real servlet container. I've added a check for nulls in WebWorkMockPageContext as well as removed the explicit setting of a null attribute in the ElseTagTest. (the attribute value retrived in the test will still be null since it's not set) Patch files will be added in a moment. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.opensymphony.com/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork