-
- 2 Posts
I have a template for getresources snippet. In tpl I have a calling another snippet (starrating) width parameter &starId=`[[+id]]`. In modx 2.1.1 I haven’t problem but in 2.1.2 I should to write <!--[[+id]]--> else [[+id]] is null or not correct... if I remove <!--[[+id]]--> than snippet starrating will not working
<!--[[+id]]-->
[[!starRating? &starId=`[[+id]]` &maxStars=`7` &starTpl=`star_rating_tpl_index` &useCookie=`true` &cookieExpiry=`608400`]]
MODX Revolution 2.1.2-pl (traditional)
php 5.2.17
mysql 5.1.55
-
- 5,888 Posts
try cached:
[[starRating? &starId=`[[+id]]` &maxStars=`7` &starTpl=`star_rating_tpl_index` &useCookie=`true` &cookieExpiry=`608400`]]
-
- 2 Posts
when it cached all be ok, but I have snippets that sholud be uncached... It is bug or feature???
It’s an unexpected bug introduced in 2.1.2 that resulted from fixing a more serious bug with caching the results of non-cacheable tags that were nested inside cacheable tags. A solution is being researched.