truonglv
Well-known member
Hi.
I have seen that thread container datawriter alway return XenForo_DataWriter_Forum although I have used another node data writer class.
I have created an node_type and have an data writer. While creating thread I use my node_id which have custom container data writer. But my writer not fired when thread saved.
I think the bug comming from:
I have seen that thread container datawriter alway return XenForo_DataWriter_Forum although I have used another node data writer class.
I have created an node_type and have an data writer. While creating thread I use my node_id which have custom container data writer. But my writer not fired when thread saved.
I think the bug comming from:
PHP:
public function getContainerDataWriter($containerId, $errorHandler)
{
$dw = XenForo_DataWriter::create('XenForo_DataWriter_Forum', $errorHandler);
$dw->setExistingData($containerId);
return $dw;
}