Recommend this page to a friend! |
Classes of Murat Cileli | Papernic | vendor/sensio/framework-extra-bundle/UPGRADE.md | Download |
|
DownloadUPGRADE FROM 2.0 to 2.1DoctrineParamConverter: Request Attributes with same name as ArgumentsPreviously the DoctrineParamConverter defaulted to finding objects by 'id' parameter. This is unintuitive and is now overwritten by a behavior where the request attributes with the same name as entity arguments is matched with higher priority. This might cause problems if you are using this parameter for another object conversion. DoctrineParamConverter with multiple Arguments may clashIn 2.0 the parameter converter matched only entity fields against route parameters. With 2.1, the matching now also includes single-valued associations. Depending on fields in entities this might lead to clashes when you update to the latest version. Example that may break with the latest (2.1) version:
Since address exists as field in You can fix this by configuring explicit mapping for
|