[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Custom error messages

From: Oren Eini (Murphy & Associates) <v-orene_at_microsoft.com>
Date: Fri, 7 Mar 2008 11:12:24 -0800

> -----Original Message-----
> From: C. Michael Pilato [mailto:cmpilato_at_collab.net]
> Sent: Friday, March 07, 2008 11:09 AM
> To: dev_at_subversion.tigris.org
> Subject: Re: Custom error messages
>
>
> Karl, I think Oren is saying two things:
>
> 1. that we use the <D:error> tags in many of our various WebDAV
> responses, but not all of them.

I have actually never seen the <C:error/> tag used, and my experiments show that in most scenarios, it is discarded.
Then again, I wrote the WebDAV "stack" that I am using, so that may very well be the case.
The part that is usually shown to the user is the text inside <m:human-readable errcode="..."/>

> 2. that sometimes the client, upon receiving one of those error
> tags in a WebDAV response, relays the human-readable text in
> the tag to the user; sometimes it appears to discard it.
>
> As for #2, I don't think the concern is that an error isn't treated as
> an error, but that sometimes that human-readable descriptive text
> doesn't survive the long trip from mod_dav_svn to the user's console.
> Perhaps sometimes the error received from the server gets wrapped by
> another such that the user doesn't see the original error text? I
> dunno.

From my experiments, it seems that the error text is being loaded from a resource file, and not read from the server response.
Received on 2008-03-07 20:12:42 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.