I am forwarding the mail from Andreas.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions
--- Begin Message ---
Andreas Hartmann schrieb:
Andreas Hartmann schrieb:
Markus Angst schrieb:
Hi,

after logging in to the default publication in revision 599391 i get this shiny white error page instead of the sample content import page. Is it just me or can
somebody confirm this?

I can confirm the problem.

java.io.FileNotFoundException: /Users/nobby/apache/lenya/clean/trunk/src/modules-core/usecase/global-sitemap.xmap (No such file or directory)

The problem is caused by commit r600218. After reverting it, it works again. Does someone have the time to look at it?

----

Author: anathaniel
Date: Sat Dec  1 16:01:55 2007
New Revision: 600218

URL: http://svn.apache.org/viewvc?rev=600218&view=rev
Log:
Sitemap: Redirect to cocoon:/foo did not work in sub-sitemap when it is in same directory as the root sitemap.

Modified:

cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java
    cocoon/branches/BRANCH_2_1_X/status.xml

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java?rev=600218&r1=600217&r2=600218&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java (original) +++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/treeprocessor/ConcreteTreeProcessor.java Sat Dec 1 16:01:55 2007
@@ -286,7 +286,7 @@

         // Get the processor that should process this request
         ConcreteTreeProcessor processor;
-        if (newEnv.getRootContext().equals(newEnv.getContext())) {
+        if ( newEnv.getURIPrefix().equals("") ) {
processor = ((TreeProcessor)getRootProcessor()).concreteProcessor;
         } else {
             processor = this;








--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


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


--- End Message ---

Reply via email to