[jboss-user] [JBoss Seam] - bug in MockHttpSession.java

matt.drees do-not-reply at jboss.com
Sun Aug 5 03:17:49 EDT 2007


It's currently impossible to remove objects from the mock session.

MockHttpSession.java line 94

  |   public void setAttribute(String att, Object value)
  |    {
  |       if (value==null)
  |       {
  |          attributes.remove(value);
  |       }
  | 

should be

  |   public void setAttribute(String att, Object value)
  |    {
  |       if (value==null)
  |       {
  |          attributes.remove(att);
  |       }
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070932#4070932

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070932



More information about the jboss-user mailing list