<table role="table">
<thead>
<tr>
<th>Q</th>
<th>A</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bug report?</td>
<td>yes</td>
</tr>
<tr>
<td>Feature request?</td>
<td>no</td>
</tr>
<tr>
<td>BC Break report?</td>
<td>no</td>
</tr>
<tr>
<td>RFC?</td>
<td>no</td>
</tr>
<tr>
<td>Symfony version</td>
<td>3.4.6</td>
</tr>
</tbody>
</table>
<p dir="auto"><a href="https://github.com/phansys/symfony-standard/blob/container_controller/tests/AppBundle/Controller/OtherControllerTest.php#L13">This</a> is the <code class="notranslate">symfony/standard-edition</code> with the reproducible error.<br>
Am I misunderstanding <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="237281139" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/23239" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/23239/hovercard" href="https://github.com/symfony/symfony/pull/23239">#23239</a>, or is supposed that autowired controllers should call <code class="notranslate">setContainer()</code>?</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ./vendor/bin/simple-phpunit --filter OtherControllerTest
PHPUnit 6.5.7 by Sebastian Bergmann and contributors.

Testing Project Test Suite
E                                                                   1 / 1 (100%)

Time: 350 ms, Memory: 14.00MB

There was 1 error:

1) Tests\AppBundle\Controller\OtherControllerTest::testOther
Error: Call to a member function getParameter() on null

vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php:40
src/AppBundle/Controller/DefaultController.php:18
src/AppBundle/Controller/OtherController.php:16
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:202
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Client.php:68
vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Client.php:131
vendor/symfony/symfony/src/Symfony/Component/BrowserKit/Client.php:312
tests/AppBundle/Controller/OtherControllerTest.php:13"><pre class="notranslate"><code class="notranslate">$ ./vendor/bin/simple-phpunit --filter OtherControllerTest
PHPUnit 6.5.7 by Sebastian Bergmann and contributors.

Testing Project Test Suite
E                                                                   1 / 1 (100%)

Time: 350 ms, Memory: 14.00MB

There was 1 error:

1) Tests\AppBundle\Controller\OtherControllerTest::testOther
Error: Call to a member function getParameter() on null

vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php:40
src/AppBundle/Controller/DefaultController.php:18
src/AppBundle/Controller/OtherController.php:16
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:202
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Client.php:68
vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Client.php:131
vendor/symfony/symfony/src/Symfony/Component/BrowserKit/Client.php:312
tests/AppBundle/Controller/OtherControllerTest.php:13
</code></pre></div>
<p dir="auto">I'm on symfony 2.3.3 and I have a big problem with form embedded.</p>
<p dir="auto">I followed <a href="http://symfony.com/doc/current/cookbook/form/form_collections.html" rel="nofollow">http://symfony.com/doc/current/cookbook/form/form_collections.html</a> and,</p>
<p dir="auto">the calling of {{ form_widget(form.tags.vars.prototype)|e }} return an empty string and if I debug form.tags.vars.prototype, I have a FormView object.</p>
<p dir="auto">could somebody help ?</p>