<p dir="auto">I was going through the "Create your first page in Symfony" tutorial, and I noticed I was always getting a "No route found for "Get /lucky/number"" type exception; however I was certain everything I coded was correct. After cutting and pasting the sample code (which was identical), I noticed it worked.</p>
<p dir="auto">The problem is here:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    /**
     *  @Route(&quot;/lucky/number/{count}&quot;)
     */"><pre class="notranslate">    <span class="pl-c">/**</span>
<span class="pl-c">     *  @Route("/lucky/number/{count}")</span>
<span class="pl-c">     */</span></pre></div>
<p dir="auto">Whereas this works:</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    /**
     * @Route(&quot;/lucky/number/{count}&quot;)
     */"><pre class="notranslate">    <span class="pl-c">/**</span>
<span class="pl-c">     * @Route("/lucky/number/{count}")</span>
<span class="pl-c">     */</span></pre></div>
<p dir="auto">The difference is the first annotation has a tab in front of it. This is the bug! Seems to have an issue with tabs.</p>
<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.2.9</td>
</tr>
<tr>
<td>Doctrine ORM</td>
<td>2.5.6</td>
</tr>
</tbody>
</table>
<p dir="auto">Hi,<br>
I'm using doctrine "joined" table inheritance, using the annotations in this way</p>
<div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" * @ORM\InheritanceType(&quot;JOINED&quot;)
 * @ORM\DiscriminatorColumn(name=&quot;joined_type&quot;,  type=&quot;string&quot;)"><pre class="notranslate"> * @<span class="pl-en"><span class="pl-c1">ORM</span>\<span class="pl-v">InheritanceType</span></span>("<span class="pl-s">JOINED</span>")
 * @<span class="pl-en"><span class="pl-c1">ORM</span>\<span class="pl-v">DiscriminatorColumn</span></span>(name="<span class="pl-s">joined_type</span>",  type="<span class="pl-s">string</span>")</pre></div>
<p dir="auto">Everything wotks fine when I create the entries, but when I try to get results from database with a simple findAll(), I get a duplicated property id for the entries of the inherited type, in this case "MoreText":<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/12408871/26715142/cc39e6aa-4774-11e7-94b7-1b4372f4badb.jpg"><img src="https://cloud.githubusercontent.com/assets/12408871/26715142/cc39e6aa-4774-11e7-94b7-1b4372f4badb.jpg" alt="response" style="max-width: 100%;"></a></p>
<p dir="auto">I'm not really expert but I just followed the doctrine documentation for table inheritance, and this is not the first time I use it, so I think that it can be a bug.</p>
<p dir="auto">Thank you</p>