{"action":"created","issue":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/1009","repository_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle","labels_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/1009/comments","events_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/1009/events","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/1009","id":141571931,"number":1009,"title":"Issue FormConfigBuilder with Doctrine Embeddables","user":{"login":"Babacooll","id":6329406,"avatar_url":"https://avatars.githubusercontent.com/u/6329406?v=3","gravatar_id":"","url":"https://api.github.com/users/Babacooll","html_url":"https://github.com/Babacooll","followers_url":"https://api.github.com/users/Babacooll/followers","following_url":"https://api.github.com/users/Babacooll/following{/other_user}","gists_url":"https://api.github.com/users/Babacooll/gists{/gist_id}","starred_url":"https://api.github.com/users/Babacooll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Babacooll/subscriptions","organizations_url":"https://api.github.com/users/Babacooll/orgs","repos_url":"https://api.github.com/users/Babacooll/repos","events_url":"https://api.github.com/users/Babacooll/events{/privacy}","received_events_url":"https://api.github.com/users/Babacooll/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-03-17T12:42:44Z","updated_at":"2016-11-17T15:00:43Z","closed_at":"2016-03-26T08:48:04Z","body":"Hello,\n\n**Symfony version : 3.0**\n**EasyAdminBundle: last**\n\nWhen using Embedded/Embeddables Doctrine functionalities strange behaviours appear.\n\nExample :\n\n``` php\n<?php\n\n/**\n * Step\n *\n * @ORM\\Table(name=\"step\")\n * @ORM\\Entity(repositoryClass=\"FlowBundle\\Repository\\StepRepository\")\n */\nclass Step {\n    /**\n     * @var StepType\n     *\n     * @ORM\\Embedded(class=\"FlowBundle\\Entity\\StepType\")\n     */\n    private $stepType;\n}\n\n/**\n * Class StepType\n *\n * @package FlowBundle\\Entity\n *\n * @ORM\\Embeddable()\n */\nclass StepType\n{\n    /**\n     * @var string\n     *\n     * @ORM\\Column(name=\"name\", type=\"string\", length=255)\n     */\n    private $name;\n\n    /**\n     * @var string\n     *\n     * @ORM\\Column(name=\"type\", type=\"string\", length=255)\n     */\n    private $type;\n\n    public function __construct($name, $type)\n    {\n        $this->name = $name;\n        $this->type = $type;\n    }\n}\n```\n\nWhenever I try to add a new step :\n\n> The name \"stepType.name\" contains illegal characters. Names should start with a letter, digit or underscore and only contain letters, digits, numbers, underscores (\"_\"), hyphens (\"-\") and colons (\":\").\n"},"comment":{"url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/comments/261269221","html_url":"https://github.com/javiereguiluz/EasyAdminBundle/issues/1009#issuecomment-261269221","issue_url":"https://api.github.com/repos/javiereguiluz/EasyAdminBundle/issues/1009","id":261269221,"user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T15:00:43Z","updated_at":"2016-11-17T15:00:43Z","body":"I wish I could help you, but the error message that you mentioned comes from the Symfony Form component (`FormConfigBuilder:validateName()`), so I don't know what to do:\r\n\r\n![formconfigbuilder-error](https://cloud.githubusercontent.com/assets/73419/20394163/e4223c26-acde-11e6-98fd-9462c3620c60.png)\r\n"}}
{"actor":{"display_login":"javiereguiluz"}}