Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 99739 invoked from network); 6 Apr 2007 22:53:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Apr 2007 22:53:43 -0000 Received: (qmail 69405 invoked by uid 500); 6 Apr 2007 22:53:50 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 69345 invoked by uid 500); 6 Apr 2007 22:53:50 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 69334 invoked by uid 99); 6 Apr 2007 22:53:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 15:53:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [163.1.2.167] (HELO relay6.mail.ox.ac.uk) (163.1.2.167) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Apr 2007 15:53:42 -0700 Received: from smtp2.mail.ox.ac.uk ([163.1.2.205]) by relay6.mail.ox.ac.uk with esmtp (Exim 4.62) (envelope-from ) id 1HZxJ2-0000Q1-Ld for dev@forrest.apache.org; Fri, 06 Apr 2007 23:53:20 +0100 Received: from host217-44-253-133.range217-44.btcentralplus.com ([217.44.253.133] helo=[192.168.1.67]) by smtp2.mail.ox.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HZxJ2-0005pf-7U for dev@forrest.apache.org; Fri, 06 Apr 2007 23:53:20 +0100 Message-ID: <4616CF61.2000704@apache.org> Date: Fri, 06 Apr 2007 23:53:21 +0100 From: Ross Gardler Organization: OSS Watch User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: [headsup] recent change in broken link handling References: <20070405074021.94D001A983E@eris.apache.org> <20070405080505.GC13321@igg.indexgeo.com.au> <4614B9BD.5010904@apache.org> <20070406115141.GG13321@igg.indexgeo.com.au> In-Reply-To: <20070406115141.GG13321@igg.indexgeo.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Oxford-Username: oucs0040 X-Virus-Checked: Checked by ClamAV on apache.org David Crossley wrote: > Ross Gardler wrote: ... >> 1) revert the error handling which will give us meaningless locationmap >> errors, but will give a meaningful broken-links.xml file >> >> 2) Improve the generated error page to be more user friendly and show >> the error in a graceful way, this will make the user experience better >> if a broken site is deployed, but will make the admins job harder >> >> 3) A mix of 1) and 2) in which we generate a nice user error page and we >> use the SourceWritingTransformer to provide meaningful output for the admin. >> >> 4) ? >> >> Thoughts? > > Dunno. > > Better locationmap error messages are more important, > because that can be complex to debug. As others have noted, I personally feel that broken-links.xml is more important. The locationmap can be debugged if you know what you are doing. So this will become a user support issue until we can patch the locationmap (see my reply to Thorsten). > Perhaps a way out for now is to describe the issue > in Jira, add a note to the upgrading_08.html doc, and > add to the end of the "site" ant target to scan the > build directory to list any error_site_* files. > > That is not as good as the previous broken link handling > because it doesn't list the referring pages. Which, for me is very important. I've just commented out the relevant match in our root sitemap to restore the old behaviour before the code freeze. I think we ought to document the bad locationmap error message in the upgrading doc, along with a hint on debugging via the locationmap logs (set the log level to debug in logkit.xml), and a pointer to the mail lists for assistance. (for now I've put a one line warning, better than nothing but needs improving since reading the locationmap logs is not easy - I'm going to bed now, sorry) If someone manages to change the way the locationmap works and get it to throw a proper error before the code freeze then we can reinstate the error trapping. Otherwise we'll do it in the next release (which will not be so long in the making - we can discuss that after the release). Ross