<p dir="auto">I'm using PR4 and when generating a Doctrine crud with routes the UrlMatcher contains duplicate GOTO commands.<br>
I tried adding a prefix to the imported routes but that did not work.</p>
<p dir="auto">If I remove the method requirements in the CRUD routes there is no longer a duplicate GOTO in the UrlMatcher.</p>
<p dir="auto">I'm including my bundle routes (which includes the generated CRUD routes) in the main routing.yml file. If I include the CRUD routes directly into the main routing.yml everything works.</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$io = new SymfonyStyle($input, $output);
$io-&gt;ask('question with default value Backslash\\', '\\');"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>io</span> = <span class="pl-k">new</span> <span class="pl-v">SymfonyStyle</span>(<span class="pl-s1"><span class="pl-c1">$</span>input</span>, <span class="pl-s1"><span class="pl-c1">$</span>output</span>);
<span class="pl-s1"><span class="pl-c1">$</span>io</span>-&gt;<span class="pl-en">ask</span>(<span class="pl-s">'question with default value Backslash\\'</span>, <span class="pl-s">'\\'</span>);</pre></div>
<p dir="auto">This code snippet will print the following in command line:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" question with default value Backslash&lt;/info&gt; [&lt;/comment&gt;]:
 &gt; "><pre class="notranslate"><code class="notranslate"> question with default value Backslash&lt;/info&gt; [&lt;/comment&gt;]:
 &gt; 
</code></pre></div>
<ul dir="auto">
<li>symfony/console v3.1.3</li>
<li>php v7.0.9</li>
<li>Mac OSX v10.11.6</li>
</ul>