ZF2-477: Multiplie navigation don't work


When in layout we add several navigation rendering get fatal error:

echo $this->navigation('navigation');
$helper = $this->navigation()->findHelper('menu');
$helper->setContainer('secondnavigation'); // <- Fatal error: Call to a member function get() on a non-object in /usr/share/zf2/library/Zend/View/Helper/Navigation/AbstractHelper.php on line 222

echo $this->navigation('secondnavigation'); // <- render old 'navigation'.

for testing enough one navigation as this line also do error:



This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit: