Forum Discussion
RobertT
Boss
Hi clint
I'm no expert here, but my thinking is the square brackets which are the cause of your error, have you tried removing them?
<#assign messagelist = messagelist + message.thread>
should hopefully work.
This is just a shot in the dark though. Let me know if that helps at all
clint
10 years agoAdvisor
Thanks for the help RobertT, but I actually started off with that and it throws a slightly different error that I couldn't quite make sense of.
This time, the code actually runs when I save it, but the Studio Preview function fails to render the preview with this error:
Freemarker template 'preview' processing failed:
RenderQueueException:Render queue error in BeginRender[forums/contributions/Optional:messagelistpanel.simplemessagelist.list.componentdisplay]: Failure reading parameter 'messageRowModelDatas' of component forums/contributions/Optional:messagelistpanel.simplemessagelist.list: lithium.boards.core.Community cannot be cast to lithium.coreapi.boards.IMessage