felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2788) ServletContextImpl does not propagate context attribute changes to parent context
Date Mon, 24 Jan 2011 15:55:43 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12985749#action_12985749
] 

Felix Meschberger commented on FELIX-2788:
------------------------------------------

Also updated the Http Service documentation page (added section "Servlet Context Notes")

> ServletContextImpl does not propagate context attribute changes to parent context
> ---------------------------------------------------------------------------------
>
>                 Key: FELIX-2788
>                 URL: https://issues.apache.org/jira/browse/FELIX-2788
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http-2.0.4
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>             Fix For: http-2.0.6
>
>
> org.apache.felix.http.base.internal.context.ServletContextImpl does not propagate context
attribute changes to parent context.
> this is a problem for example when a session event is triggered. then the evt.getSession().getServletContext()
is the one of the servlet container and not the felix one, thus the context attributes added
prior to the servlet context are not visible.
> so either wrap the httpsession in the events with a java proxy for a complete isolation,
or delegate all attribute modifications to the parent context.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message