DO NOT REPLY [Bug 47364] HttpServletRequest.getAttributeNames() does not return the names of all attributes

2009-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47364

--- Comment #2 from Mark Thomas ma...@apache.org 2009-11-01 10:20:36 GMT ---
Created an attachment (id=24451)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=24451)
Patch that adds internal attributes but breaks TCK tests

I looked at just including all the Tomcat internal attributes in the return
from getAttributeNames() but this causes problems with the Servlet 2.5 TCK
tests which expect that getAttributeNames() return only those attributes that
have been set via setAttribute().

Therefore it looks like the doc change is the way I'll have to go. For
completeness the patch I tried that returned all the attribute names is
attached so you can patch Tomcat locally if you particularly need that
functionality. I thought about making this a configurable option but I didn't
want to add the complexity for something that I couldn't see causing any
problems that can't be easily worked around by an app that needed to.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 47364] HttpServletRequest.getAttributeNames() does not return the names of all attributes

2009-11-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47364

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #3 from Mark Thomas ma...@apache.org 2009-11-01 10:39:08 GMT ---
Trunk and 6.0.x now have updated Javadoc. Thsi will be included in 6.0.21
onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 47364] HttpServletRequest.getAttributeNames() does not return the names of all attributes

2009-06-12 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47364





--- Comment #1 from Chris Markle cmar...@comcast.net  2009-06-12 13:45:33 PST 
---
Created an attachment (id=23806)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23806)
Original email exchange on this issue

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org