symfony/symfony — pull request #7493 by sterrien (2013-03-27 13:25:26+00:00)
Title: idAsIndex should be true with a smallint id field.

When the id of an entity is a smallint, $this->idAsIndex should also be true.
It was not the case.

[Form] [Doctrine] [EntityChoiceList] Fix having smallint as index

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: should
License of the code: MIT