-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
None
-
4.2 M11
When web is there, the comments_3.3.xsl do this
<xsl:template name="comment-like"> <xsl:param name="content-id" /> <xsl:variable name="pageId" select="ametys:pageId()" /> <xsl:if test="ametys:pageHasRestrictedAccess($pageId)"> <xsl:call-template name="comment-like-form" > <xsl:with-param name="like-title">plugin.cms:PLUGINS_CMS_CONTENT_COMMENTS_LIKE_BUTTON_TITLE</xsl:with-param> <xsl:with-param name="like-button-tooltip">plugin.cms:PLUGINS_CMS_CONTENT_COMMENTS_LIKE_BUTTON_TOOLTIP</xsl:with-param> <xsl:with-param name="unlike-title">plugin.cms:PLUGINS_CMS_CONTENT_COMMENTS_UNLIKE_BUTTON_TITLE</xsl:with-param> <xsl:with-param name="unlike-button-tooltip">plugin.cms:PLUGINS_CMS_CONTENT_COMMENTS_UNLIKE_BUTTON_TOOLTIP</xsl:with-param> <xsl:with-param name="content-id" select="$content-id" /> </xsl:call-template> </xsl:if> </xsl:template>
but when watching a content, there is not pageId
=> I cannot see the content anymore due to a 500