Re: Attempted to process incomplete pipeline

Thorsten Scherler <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Organization The Apache Software Foundation
Message-ID <1276089249.11672.2.camel@mcKenny>
On Tue, 2010-06-08 at 12:46 +0200, Thorsten Scherler wrote:
> Hi all,
> 
> I have taken on a project which is developed with lenya and I can see
> heaps of: "Attempted to process incomplete pipeline" in the logs.
> 
> I found some thread in cocoon mailing list but there never had been
> mentioned a solution. Basically the problems occurred when redirect
> happens. 
> 
> In the project I can as well track down the bug when I call a usecase
> and this usecase redirects to another.
> 
> For example there is a login form and when the user auth was successful
> they do a redirect to a url in lenya.
> 
> We use something like the following in our use case (extends
> DocumentUsecase) after we have added some objects to the session:
> Document sourceDoc = getSourceDocument();
> String urlHome = "/" + sourceDoc.getPublication() + "/"
>                 + sourceDoc.getArea() + "/" + area;
> setDefaultTargetURL(urlHome);
> 
> Has anybody seen this issue before and knows how to fix it?

The error happens in the following match:
<!-- {1:rendertype}/{2:pub}/{3:area}/{4:path} -->
<map:match pattern="document-content/*/*/*/**">
  <map:act type="language-exists">
    <map:generate src="{resource-type:format-xhtml}?rendertype={../1}"/>
    <map:serialize type="xml"/>
  </map:act>
<!-- ... -->
</map:match>

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>
smime.p7s (application/x-pkcs7-signature, 1.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.