Jann Forrer wrote:
> Gregor J. Rothfuss wrote:
>> Andreas Hartmann wrote:
>>> Andreas Hartmann schrieb:
>>>> Gregor J. Rothfuss schrieb:
>>>>> gang,
>>>>>
>>>>> we need to figure out what we want to do about the failed 1.2.5
>>>>> release,
>>>>> and further 1.4 / trunk releases.
>>>>>
>>>>> clearly the lack of interest within a useful time frame for 1.2.5 is
>>>>> worrying. after all, this community has not had a release in about 18
>>>>> months.
>>>>>
>>>>> i see a couple possible scenarios:
>>>>>
>>>>> a) we try again with 1.2.5
>>>> +1, but I have to admit that I don't have the time for testing this
>>>> branch.
>>> I tested the basic functionality now.
>>>
>>> +1 to vote again for a release.
>> ok, lets try again:
>>
>> http://people.apache.org/~gregor/
>>
>> has the exact same tarballs from last time.
> 
> I did test the most important feature. I found one important bug:
> 
> If I change the proxy settings in publication.xconf the urls are
> corectlly rewritten in the content area but not the menu i.e. if i use
> the following proxy entry:
> 
> <proxy area="live" ssl="false" url="http://idlnxjaf.unizh.ch/default"/>
> 
> I end up with a link like:
> http://idlnxjaf.unizh.ch/default/tutorial/abc.html
> in the content area but the link in the menu entry looks like:
> http://localhost:8080/lenya/default/live/tutorial/abc.html
> 
> Can somebody confirm this? If yes that should be fixed imo before a
> 1.2.5 relaease.
> 

I found the problem. The parameter root is defined in navigation.xmap
and refined in sitetree2nav.xsl. Changing  sitetree2nav.xsl as follows
fixes this problem:

Index: sitetree2nav.xsl
===================================================================
--- sitetree2nav.xsl    (revision 501784)
+++ sitetree2nav.xsl    (working copy)
@@ -28,11 +28,11 @@
     >

 <xsl:param name="url"/>
+<xsl:param name="root"/>
 <xsl:param name="chosenlanguage"/>
 <xsl:param name="defaultlanguage"/>

 <xsl:variable name="path-to-context"><xsl:call-template
name="create-path-to-context"/></xsl:variable>
-<xsl:variable name="root" select="$path-to-context"/>

 <xsl:template name="create-path-to-context">
   <xsl:param name="local-url" select="$url"/>

Shall I check that fix in and gregor includes it in his tarball for
lenya-1.2.5?

Jann


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

Reply via email to