Developer forum

Forum » Rapido » XSLT Error in Mobile menu

XSLT Error in Mobile menu

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hello,

In a fresh DW 9.10.5 installation with Rapido (Only content no PIM Products) I get an error on the Mobile version of the navigation.

At first I thought it might have something todo with the fact that I had only a 443 binding on the site and no http on port 80, since the error shows a 403 on a http:// adress.

But adding a binding to allow http does not solve the error.

Also I have set  "Force SSL" on the website level.

What am I missing?

Justin

 

XSLTError.png

Replies

 
Olga Shedko Dynamicweb Employee
Olga Shedko
Reply

Hello Justin,

I've created new TFS # 92179 and assigned it to development for checking it out.

Thank you.

Best regards,

Olga | QA

 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hi Olga,

Thanks! Meanwhile I have been searching and found the problem. In the file "Files\Templates\Designs\Rapido\Navigation\BaseMenuWithDropdown.xslt" there is a harcoded link to HTTP for the translations.xml file.

<xsl:variable name="translationfileurl" select="concat('http://', $hostUri, '/Files/Templates/Designs/Rapido/Translations.xml')"/>

Ideally this would be changed so it behaves in accordance with the " Force SSL" setting on a website level.

Best regards,

Justin

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Justin

Yes - that is the source. The actual problem is that it is even there. It should be removed as it is a potential performance problem.

It is used to translate a text string in the xslt.

Votes for this answer: 1
 
Olga Shedko Dynamicweb Employee
Olga Shedko
Reply

Hello,

Issue moved to devOps Bug 6187.

Best regards,

Olga | QA

 

You must be logged in to post in the forum