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
Description: S/MIME cryptographic signature
