[Yanel-dev] [Bug 5273] back2realm doesn't work correctly for pages under the realm root prefix, e.g. /yanel/my-realm/page.html

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Sat Apr 14 01:29:02 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5273





------- Additional Comments From jonathan.addison at wyona.com  2007-04-14 01:29 -------
The xsl code for the links is:
<xsl:choose>
  <xsl:when test="$language = 'de'">
    <span>Deutsch</span>
  </xsl:when>
  <xsl:otherwise>
    <span><a href="">Deutsch</a></span>
  </xsl:otherwise>
</xsl:choose>

<xsl:choose>
  <xsl:when test="$language = 'en'">
    <span>English</span>
  </xsl:when>
  <xsl:otherwise>
    <span><a href="{$yanel.path.name}">English</a></span>
  </xsl:otherwise>
</xsl:choose>

According to this, the link to the German page will never exist because it is
set to href="".

I also noticed that there is no consistency in the variable names used for
back2realm.  In some files we use yarep.back2realm and in others we use
yanel.back2realm.

e.g. XMLResource.java uses yarep.back2realm, but YanelServlet.java uses
yarep.back2realm.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list