{"action":"created","issue":{"url":"https://api.github.com/repos/ekino/EkinoWordpressBundle/issues/79","labels_url":"https://api.github.com/repos/ekino/EkinoWordpressBundle/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/ekino/EkinoWordpressBundle/issues/79/comments","events_url":"https://api.github.com/repos/ekino/EkinoWordpressBundle/issues/79/events","html_url":"https://github.com/ekino/EkinoWordpressBundle/issues/79","id":78296386,"number":79,"title":"How override Entity","user":{"login":"tamaragl","id":975797,"avatar_url":"https://avatars.githubusercontent.com/u/975797?v=3","gravatar_id":"","url":"https://api.github.com/users/tamaragl","html_url":"https://github.com/tamaragl","followers_url":"https://api.github.com/users/tamaragl/followers","following_url":"https://api.github.com/users/tamaragl/following{/other_user}","gists_url":"https://api.github.com/users/tamaragl/gists{/gist_id}","starred_url":"https://api.github.com/users/tamaragl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamaragl/subscriptions","organizations_url":"https://api.github.com/users/tamaragl/orgs","repos_url":"https://api.github.com/users/tamaragl/repos","events_url":"https://api.github.com/users/tamaragl/events{/privacy}","received_events_url":"https://api.github.com/users/tamaragl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-19T23:46:19Z","updated_at":"2015-07-09T19:32:32Z","closed_at":null,"body":"Hi, I just override Post Entity following your instructions and when I create my Post entity I have the follow problem:\r\n\r\n```php\r\nClass \"XXX\\YYYBundle\\Entity\\Post\" sub class of \"Ekino\\WordpressBundle\\Model\\Post\" is not a valid entity or mapped super class.\r\n500 Internal Server Error - MappingException\r\n```\r\n\r\nand I create my class:\r\n```php\r\n<?php\r\nnamespace XXX\\YYYBundle\\Entity;\r\nuse Ekino\\WordpressBundle\\Model\\Post as PostModel;\r\nclass Post extends PostModel{\r\n}\r\n```\r\n\r\nAnd my config:\r\n```php\r\nekino_wordpress:\r\n    table_prefix: wp_ # If you have a specific Wordpress table prefix\r\n    services:\r\n            post:\r\n                class: XXX\\YYYBundle\\Entity\\Post\r\n                repository_class: XXX\\YYYBundle\\Repository\\PostRepository\r\n            term:\r\n                repository_class: XXX\\YYYBundle\\Repository\\TermRepository\r\n```"},"comment":{"url":"https://api.github.com/repos/ekino/EkinoWordpressBundle/issues/comments/120120485","html_url":"https://github.com/ekino/EkinoWordpressBundle/issues/79#issuecomment-120120485","issue_url":"https://api.github.com/repos/ekino/EkinoWordpressBundle/issues/79","id":120120485,"user":{"login":"eko","id":103900,"avatar_url":"https://avatars.githubusercontent.com/u/103900?v=3","gravatar_id":"","url":"https://api.github.com/users/eko","html_url":"https://github.com/eko","followers_url":"https://api.github.com/users/eko/followers","following_url":"https://api.github.com/users/eko/following{/other_user}","gists_url":"https://api.github.com/users/eko/gists{/gist_id}","starred_url":"https://api.github.com/users/eko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eko/subscriptions","organizations_url":"https://api.github.com/users/eko/orgs","repos_url":"https://api.github.com/users/eko/repos","events_url":"https://api.github.com/users/eko/events{/privacy}","received_events_url":"https://api.github.com/users/eko/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T19:32:32Z","updated_at":"2015-07-09T19:32:32Z","body":"Hi @tamaragl,\r\n\r\nHave you defined the Doctrine schema coming with your entity and added your entity's bundle to the `doctrine.orm.entity_managers.default.mappings` section?"}}