cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh (JIRA)" <>
Subject [jira] Updated: (COCOON-2066) BlockCompletePathModule returns wrong path in scope of internal servlet call
Date Sat, 07 Jul 2007 20:07:04 GMT


Rice Yeh updated COCOON-2066:

    Attachment: cocoon-servlet-service-impl.patch

Attached is a patch for BlockCallHttpServletRequest. The implementation is based on the understanding

Attributes handling for http session is not implemented in this patch yet because I have not
figured out how to implement it.


> BlockCompletePathModule returns wrong path in scope of internal servlet call
> ----------------------------------------------------------------------------
>                 Key: COCOON-2066
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Servlet service framework
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Grzegorz Kossakowski
>            Assignee: Grzegorz Kossakowski
>             Fix For: 2.2-dev (Current SVN)
>         Attachments: cocoon-servlet-service-impl.patch
> BlockCompletePathModule uses this construct: 
> public Object getAttribute(String name, Configuration modeConf, Map objectModel) throws
ConfigurationException { 
> return ObjectModelHelper.getRequest(objectModel).getContextPath() + blockPathModule.getAttribute(name,
modeConf, objectModel); 
> } 
> However, when internal (service call or not) request is being made BlockCallHttpServletRequest
becomes an object represnting current request but it has no meaningful representation of getContextPath
> Solution to this problem might be forwarding context path value from original request.

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

View raw message