Closed mschlegel closed 13 years ago
mschlegel submitted:
Just a note: of course the affected version is 2.1.2-pl, not 2.1.1-pl (forgot to change it)
Another note: This may be the same bug as #5201
pavukmax submitted:
I agree with Markus. I think this is critical bug! I found workaround: if use placeholder before called snipper, it works:
[[!testSnippet?param=`[[+chunkParam]]`]]
opengeek submitted:
This has been fixed for a 2.1.3-pl bug fix release and has been merged into develop for 2.2.0-rc1. See commit details at https://github.com/modxcms/revolution/commit/32fdbe0ce81efa67ebeb6cafe3d64f6b51d804f1
mschlegel created Redmine issue ID 5222
After upgrading to 2.1.2-pl I noticed that placeholders in snippet parameters didn't work any more, if the snippet was called uncached (e.g. Formit). The same applies for system settings placed there.
For testing I did the following:
created 'testSnippet' with this content: @return $param;@
and 'testChunk': @[[!testSnippet?param=
[[+chunkParam]]
]]@When calling
@ [[$testChunk?chunkParam=
some text
]]@there is no output!
Downgrading to 2.1.1-pl brought the output back. I think that this commit: https://github.com/modxcms/revolution/commit/c5ab85902d6e6102c0b1ef7e09991baceeab8088 is responsible, since reverting it brought me back the output too.