{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/6153","repository_url":"https://api.github.com/repos/symfony/symfony-docs","labels_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6153/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6153/comments","events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6153/events","html_url":"https://github.com/symfony/symfony-docs/issues/6153","id":127025574,"number":6153,"title":"[reference] [form] [options] error_mapping","user":{"login":"HeahDude","id":10107633,"avatar_url":"https://avatars.githubusercontent.com/u/10107633?v=3","gravatar_id":"","url":"https://api.github.com/users/HeahDude","html_url":"https://github.com/HeahDude","followers_url":"https://api.github.com/users/HeahDude/followers","following_url":"https://api.github.com/users/HeahDude/following{/other_user}","gists_url":"https://api.github.com/users/HeahDude/gists{/gist_id}","starred_url":"https://api.github.com/users/HeahDude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeahDude/subscriptions","organizations_url":"https://api.github.com/users/HeahDude/orgs","repos_url":"https://api.github.com/users/HeahDude/repos","events_url":"https://api.github.com/users/HeahDude/events{/privacy}","received_events_url":"https://api.github.com/users/HeahDude/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony-docs/labels/hasPR","name":"hasPR","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-16T13:40:46Z","updated_at":"2016-02-06T16:13:03Z","closed_at":null,"body":"in the given example :\r\n\r\n```php\r\npublic function setDefaultOptions(OptionsResolverInterface $resolver)\r\n{\r\n    $resolver->setDefaults(array(\r\n        'error_mapping' => array(\r\n            'matchingCityAndZipCode' => 'city',\r\n        ),\r\n    ));\r\n}\r\n```\r\nin this reference :\r\n>The left side of the error mapping also accepts a dot ., which refers to the field itself. That means that any error added to the field is added to the given nested field instead;\r\n\r\n\"left side\" is actually the wrong side, I mean the \"right side\"..."},"comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments/180800710","html_url":"https://github.com/symfony/symfony-docs/issues/6153#issuecomment-180800710","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6153","id":180800710,"user":{"login":"HeahDude","id":10107633,"avatar_url":"https://avatars.githubusercontent.com/u/10107633?v=3","gravatar_id":"","url":"https://api.github.com/users/HeahDude","html_url":"https://github.com/HeahDude","followers_url":"https://api.github.com/users/HeahDude/followers","following_url":"https://api.github.com/users/HeahDude/following{/other_user}","gists_url":"https://api.github.com/users/HeahDude/gists{/gist_id}","starred_url":"https://api.github.com/users/HeahDude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HeahDude/subscriptions","organizations_url":"https://api.github.com/users/HeahDude/orgs","repos_url":"https://api.github.com/users/HeahDude/repos","events_url":"https://api.github.com/users/HeahDude/events{/privacy}","received_events_url":"https://api.github.com/users/HeahDude/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T16:13:03Z","updated_at":"2016-02-06T16:13:03Z","body":"Hi @WouterJ, I've left a [comment](https://github.com/symfony/symfony-docs/pull/6156#discussion_r52102212) on the PR.\r\n\r\nOnce you reviewed it, I think we can close this issue."}}