Ticket #72 (new defect)

Opened 4 years ago

renderPartial triggers performed_render

Reported by: pillgrim Assigned to:
Priority: minor Milestone: 1.0.1
Component: Action Controller Keywords:


The following code:

<?= $controller->renderPartial('css') ?> <?= $controller->render(array('inline' => $code)) ?>


'Can only render or redirect once per action in /home/ag/akelos/lib/AkActionController.php on line 959'

This is because renderPartial calls renderText which sets performed_render = true. While this behaviour is correct for all the other types of rendering, I would expect inline to not trigger this error.