Author: rgardler
Date: Wed Mar 21 18:12:48 2007
New Revision: 521064

URL: http://svn.apache.org/viewvc?view=rev&rev=521064
Log:
The locationmap reported by the error message may not be anything to do with 
the actual problem, what we need is the hint, but this can only be found (at 
present) by scouring the logs.

Ugly, very ugly. We really need to sort out caching in the locationmap so that 
we can actual track what is found and what is not found, or at least make it 
throw an error at an appropriate point.

Modified:
    forrest/trunk/main/webapp/resources/stylesheets/exception-to-html.xsl

Modified: forrest/trunk/main/webapp/resources/stylesheets/exception-to-html.xsl
URL: 
http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/stylesheets/exception-to-html.xsl?view=diff&rev=521064&r1=521063&r2=521064
==============================================================================
--- forrest/trunk/main/webapp/resources/stylesheets/exception-to-html.xsl 
(original)
+++ forrest/trunk/main/webapp/resources/stylesheets/exception-to-html.xsl Wed 
Mar 21 18:12:48 2007
@@ -36,8 +36,7 @@
      <xsl:when test="contains(ex:message, '(Access is denied)')">
          <h1>An Error Occurred</h1>
          
-         <p>It looks like there is a problem with an unresolved hint in the 
your locationmap 
-         found at <xsl:value-of select="substring(ex:message, 0, 
string-length(ex:message) - string-length('(Access is 
denied)'))"/>/locationmap.xml.</p>
+         <p>It looks like there is a problem with an unresolved hint in the 
your locationmap.</p>         
          
          <p>More information can be found in the logs.</p>
      </xsl:when>