Hi,

on the subject of error reporting - calling the following pipeline:

>>

                <map:match pattern="portal/user/login">
                        <map:generate src="portal/resources/login.xml"/>
                        <map:transform src="portal/styles/buildlogin.xsl">
                                <map:parameter name="use-request-parameters" 
value="true"/>
                        </map:transform>
                        <map:transform type="sql">
                                <map:parameter name="use-connection" value="portal"/>
                        </map:transform>
                        <!--
                        <map:transform src="portal/styles/buildfeeds.xsl"/>
                        <map:transform type="sql">
                                <map:parameter name="use-connection" value="portal"/>
                        </map:transform>
                        <map:serialize type="xml"/>
                        -->
                </map:match>
<<


(Yes I know its wrong)

Results in a 404 being returned to the browser and the log says:

>>
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request:
/portal/user/login
<<

Well obviously there is a pipeline for /portal/user/login. The error is of
course that I commented out the serializer by mistake. I am not sure if the
error is more explanatory under 2.0.1 - I haven't checked yet.

But this is more to emphasize the fact that these types of error messages
make life really hard "out in the field". And so I would be +1000 for
somehow making these type of beginner mistakes easy to find.

Carsten - you hear me? :-)

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
=================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to