Sylvain Wallez wrote: > > Hi folks, > > In one of our projects, we use CocoonBean in a CocoonServlet > environment to dump a collection of generated documents on > disk. Doing this, we encountered two problems: > > - CocoonComponentManager.checkEnvironment barfs and throws an > Exception since the servlet environment exists on the stack > when the CocoonBean starts its processing. > Obvious solution is to remove this test, as indicated in > the method's comments. > I would be happy if we could leave the check in. This is to find a bug that sits somewhere deep in the core of Cocoon and is very rarely to reproduce. I hope that there will be the day when someone is able to have a reproducable test case. Isn't there a better way?
Carsten