SensioFrameworkExtraBundle icon indicating copy to clipboard operation
SensioFrameworkExtraBundle copied to clipboard

Fix DoctrineParamConverter (don't call ->find() if it's not the primary key)

Open geoffrey-brier opened this issue 8 years ago • 1 comments

Fixes #400

geoffrey-brier avatar Aug 26 '17 17:08 geoffrey-brier

@fabpot I was wondering if we should throw a RuntimeException stating that the developer should use the "mapping" option if it's not a primary key ... WDYT ?

geoffrey-brier avatar Aug 28 '17 17:08 geoffrey-brier

Closing as this repository is not maintained anymore. As of Symfony 6.2, all features have been moved to Symfony core now. See #783

fabpot avatar Dec 02 '22 09:12 fabpot