Developer forum

Forum » Development » Service Unavailable

Service Unavailable


Reply
 I have a small XSLT loop for variants. It runs fine with normal variants. But if you change the price of one or more of the variants, it not only returns error. It stalls the server completely, and you will get 503 service unavailable until you manually restart the app pool.

(xsl:if test="count(loop[@name='VariantCombinations']/item) > 0" )
(select id="variantBox")
(xsl:for-each select="loop[@name='VariantCombinations']/item")
(option)
(xsl:attribute name="onfocus")$('#prisBox').html('PRIS (xsl:value-of select="Ecom.VariantCombination.Product.Price.Price" /) DKK.')(/xsl:attribute)
(xsl:attribute name="value")(xsl:value-of select="Ecom.VariantCombination.VariantID" /)(/xsl:attribute)
(xsl:value-of select="Ecom.VariantCombination.VariantText" /)(/option)
(/xsl:for-each)
(/select)

(/xsl:if)
Since this forum has no code escaping brackets has been replaced with ()
------------------------------------------------------------------------------------------------------

Can anyone explain this please?

Edit: Forget everything above. It appears a completely empty XSLT template still makes the server crash.

- Dynamicweb: Are you still 100% sure, this is a template problem?

Replies

 
Nicolai Høeg Pedersen
Reply
What happens if you use a html template the same place? No exception?


 

You must be logged in to post in the forum