You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Thorsten Scherler <th...@juntadeandalucia.es> on 2007/12/03 11:53:15 UTC

r600218 is causing errors in lenya (was [Fwd: Re: Error])

I am forwarding the mail from Andreas.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions

Re: r600218 is causing errors in lenya (was [Fwd: Re: Error])

Posted by Andreas Hartmann <an...@apache.org>.
Thorsten Scherler schrieb:
> I am forwarding the mail from Andreas.

Thorsten, thanks a lot!

BTW, the stack trace mentiones fom_system.js line 20, which contains a 
sendPage call:


FOM_Cocoon.prototype.sendPageAndWait = function(uri, bizData, fun, ttl) {
     this.sendPage(uri, bizData,
                   new FOM_WebContinuation(new Continuation(),
                                           this.continuation, ttl));


Thanks in advance for any information!

-- Andreas




> 
> salu2
> 
> 
> ------------------------------------------------------------------------
> 
> Betreff:
> Re: Error
> Von:
> Andreas Hartmann <an...@apache.org>
> Datum:
> Mon, 03 Dec 2007 10:41:02 +0100
> An:
> user@lenya.apache.org
> 
> An:
> user@lenya.apache.org
> 
> 
> 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