DO NOT REPLY [Bug 27478] - cross context redirects don't reference correct session info when imported context redirects back to original context :

2004-03-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27478.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27478

cross context redirects don't reference correct session info when imported context 
redirects back to original context :

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|cross context redirects |cross context redirects
   |don't work when import  |don't reference correct
   |context redirects back to   |session info when imported
   |original context :  |context redirects back to
   ||original context :



--- Additional Comments From [EMAIL PROTECTED]  2004-03-05 18:12 ---
2 fixes are necessary --

1)  StandardContext.getContext(String path) does a check for  context==null when
it should be checking for child==null (  a context==null would never fail, and
if it was null, there'd be an NPE long before )

2) The other issue is that cross context requests are set crossContext  by
checking the current context vs. the originating request, instead of the
preceding request, which means that when you import from context A to context B,
then from  B  back to A,  the second import is not considered cross context and
the session information is retrieved from the local session in the (wrong) context. 

I hope this is somewhat explanatory.  Please feel to contact me for clarification.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27478] - cross context redirects don't reference correct session info when imported context redirects back to original context :

2004-03-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27478.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27478

cross context redirects don't reference correct session info when imported context 
redirects back to original context :

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-03-05 23:54 ---
This should be fixed now.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]