symfony/symfony — pull request #9222 by ClementGautier (2013-10-06 11:26:20+00:00)
Title: [Bridge] [Propel1] Fixed guessed relations

Q	A

Bug fix	yes

Feature addition	no

Backwards compatibility break	no

Symfony2 tests pass	yes

Fixes the following tickets	N/A

Todo	N/A

License of the code	MIT

Documentation PR	N/A

The `PropelTypeGuesser` did not match OneToMany relations properly. For example if you have a `Author` class with `Comments` attributes the guesser would guess "Comment" instead of "Comments".

I added some tests to ensure the non regression.