You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/04/12 00:51:22 UTC
svn commit: r160976 - in lenya/trunk/src/webapp: global-sitemap.xmap
lenya/lenya.xmap lenya/pubs/blog/sitemap.xmap lenya/pubs/blog/webdav.xmap
lenya/pubs/default/publication-sitemap.xmap lenya/pubs/default/sitemap.xmap
Author: gregor
Date: Mon Apr 11 15:51:20 2005
New Revision: 160976
URL: http://svn.apache.org/viewcvs?view=rev&rev=160976
Log:
Changed shorthand for ResourceNotFound exception to not-found to make error pipelines work again.
Modified:
lenya/trunk/src/webapp/global-sitemap.xmap
lenya/trunk/src/webapp/lenya/lenya.xmap
lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap
lenya/trunk/src/webapp/lenya/pubs/blog/webdav.xmap
lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap
lenya/trunk/src/webapp/lenya/pubs/default/sitemap.xmap
Modified: lenya/trunk/src/webapp/global-sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/global-sitemap.xmap?view=diff&r1=160975&r2=160976
==============================================================================
--- lenya/trunk/src/webapp/global-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/global-sitemap.xmap Mon Apr 11 15:51:20 2005
@@ -149,7 +149,7 @@
</map:match>
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="lenya/content/util/empty.xml" />
<map:transform src="lenya/xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
@@ -182,7 +182,7 @@
</map:match>
</map:pipeline>
- <!-- Editor Epoz -->
+ <!-- Editor Kupu -->
<map:pipeline>
<map:match pattern="kupu/**">
<map:read src="lenya/resources/kupu/{1}"/>
@@ -350,7 +350,7 @@
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="lenya/content/util/empty.xml" />
<map:transform src="lenya/xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
@@ -418,9 +418,9 @@
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="lenya/content/util/empty.xml" />
- <map:transform src="lenya/xslt/exception/document-does-not-exist.xsl"/>
+ <map:transform src="fallback://xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
<map:parameter name="statusCode" value="404"/>
</map:call>
Modified: lenya/trunk/src/webapp/lenya/lenya.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/lenya.xmap?view=diff&r1=160975&r2=160976
==============================================================================
--- lenya/trunk/src/webapp/lenya/lenya.xmap (original)
+++ lenya/trunk/src/webapp/lenya/lenya.xmap Mon Apr 11 15:51:20 2005
@@ -93,7 +93,7 @@
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="content/util/empty.xml" />
<map:transform src="xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
Modified: lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap?view=diff&r1=160975&r2=160976
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/sitemap.xmap Mon Apr 11 15:51:20 2005
@@ -137,7 +137,7 @@
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
@@ -202,7 +202,7 @@
</map:match>
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
@@ -276,7 +276,7 @@
</map:match>
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
@@ -327,7 +327,7 @@
</map:match>
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl"/>
<map:call resource="style-cms-page">
Modified: lenya/trunk/src/webapp/lenya/pubs/blog/webdav.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/blog/webdav.xmap?view=diff&r1=160975&r2=160976
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/blog/webdav.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/blog/webdav.xmap Mon Apr 11 15:51:20 2005
@@ -62,7 +62,7 @@
</map:match>
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl">
<map:parameter name="documentid" value="{page-envelope:document-id}"/>
@@ -102,7 +102,7 @@
</map:match>
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl">
<map:parameter name="documentid" value="{page-envelope:document-id}"/>
Modified: lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap?view=diff&r1=160975&r2=160976
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/publication-sitemap.xmap Mon Apr 11 15:51:20 2005
@@ -88,7 +88,7 @@
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl">
<map:parameter name="documentid" value="{page-envelope:document-id}"/>
@@ -215,7 +215,7 @@
<map:parameter name="statusCode" value="404"/>
</map:call>
</map:when>
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl">
<map:parameter name="documentid" value="{page-envelope:document-id}"/>
Modified: lenya/trunk/src/webapp/lenya/pubs/default/sitemap.xmap
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/sitemap.xmap?view=diff&r1=160975&r2=160976
==============================================================================
--- lenya/trunk/src/webapp/lenya/pubs/default/sitemap.xmap (original)
+++ lenya/trunk/src/webapp/lenya/pubs/default/sitemap.xmap Mon Apr 11 15:51:20 2005
@@ -49,7 +49,7 @@
<map:handle-errors>
<map:select type="exception">
- <map:when test="resourcenotfound">
+ <map:when test="not-found">
<map:generate src="../../content/util/empty.xml" />
<map:transform src="fallback://lenya/xslt/exception/document-does-not-exist.xsl">
<map:parameter name="documentid" value="{page-envelope:document-id}"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org