{"action":"opened","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3429","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3429/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3429/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3429/events","html_url":"https://github.com/Sylius/Sylius/issues/3429","id":111362017,"number":3429,"title":"[Doctrine\\Common\\Persistence\\Mapping\\MappingException] Class 'Sylius\\Component\\Product\\Model\\AttributeValueInterface' does not exist","user":{"login":"DarioSwain","id":2771864,"avatar_url":"https://avatars.githubusercontent.com/u/2771864?v=3","gravatar_id":"","url":"https://api.github.com/users/DarioSwain","html_url":"https://github.com/DarioSwain","followers_url":"https://api.github.com/users/DarioSwain/followers","following_url":"https://api.github.com/users/DarioSwain/following{/other_user}","gists_url":"https://api.github.com/users/DarioSwain/gists{/gist_id}","starred_url":"https://api.github.com/users/DarioSwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarioSwain/subscriptions","organizations_url":"https://api.github.com/users/DarioSwain/orgs","repos_url":"https://api.github.com/users/DarioSwain/repos","events_url":"https://api.github.com/users/DarioSwain/events{/privacy}","received_events_url":"https://api.github.com/users/DarioSwain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-14T09:50:19Z","updated_at":"2015-10-14T09:50:19Z","closed_at":null,"body":"Hi guys,\r\n\r\nI try to use Sylius product bundles (0.15.* version). And receive this error:\r\n```\r\n  [Doctrine\\Common\\Persistence\\Mapping\\MappingException]\r\n  Class 'Sylius\\Component\\Product\\Model\\AttributeValueInterface' does not exist\r\n```\r\n\r\nafter i am execute ```php app/console doctrine:schema:validate```:\r\n```\r\n[Mapping]  FAIL - The entity-class 'Sylius\\Component\\Product\\Model\\Product' mapping is invalid:\r\n* The target entity 'Sylius\\Component\\Product\\Model\\AttributeValueInterface' specified on Sylius\\Component\\Product\\Model\\Product#attributes is unknown or not an entity.\r\n\r\n  [Doctrine\\Common\\Persistence\\Mapping\\MappingException]\r\n  Class 'Sylius\\Component\\Product\\Model\\AttributeValueInterface' does not exist\r\n```\r\n\r\nMy composer.json:\r\n```json\r\n    \"require\": {\r\n        \"php\": \">=5.3.9\",\r\n        \"symfony/symfony\": \"2.3.*\",\r\n        \"doctrine/orm\": \"^2.4.8\",\r\n        \"doctrine/doctrine-bundle\": \"~1.4\",\r\n        \"symfony/assetic-bundle\": \"~2.3\",\r\n        \"symfony/swiftmailer-bundle\": \"~2.3\",\r\n        \"symfony/monolog-bundle\": \"~2.4\",\r\n        \"sensio/distribution-bundle\": \"~4.0\",\r\n        \"sensio/framework-extra-bundle\": \"^3.0.2\",\r\n        \"incenteev/composer-parameter-handler\": \"~2.0\",\r\n        \"sylius/product-bundle\": \"0.15.*\"\r\n    },\r\n```\r\n\r\nAnd I try to configure it:\r\n```yaml\r\nstof_doctrine_extensions:\r\n    orm:\r\n        default:\r\n            sluggable: true\r\n            timestampable: true\r\n\r\nsylius_product:\r\n    classes:\r\n        product:\r\n            model: Sylius\\Component\\Product\\Model\\Product\r\n            controller: Sylius\\Bundle\\ProductBundle\\Controller\\ProductController\r\n            repository: Sylius\\Bundle\\ProductBundle\\Doctrine\\ORM\\ProductRepository\r\n\r\nsylius_archetype:\r\n    classes:\r\n        product:\r\n            subject: Sylius\\Component\\Product\\Model\\Product\r\n            attribute: Sylius\\Component\\Product\\Model\\Attribute\r\n            option: Sylius\\Component\\Product\\Model\\Option\r\n            archetype:\r\n                model: Sylius\\Component\\Product\\Model\\Archetype\r\n\r\nsylius_attribute:\r\n    classes:\r\n        product:\r\n            subject: Sylius\\Component\\Product\\Model\\Product\r\n            attribute:\r\n                model: Sylius\\Component\\Product\\Model\\Attribute\r\n            attribute_value:\r\n                model: Sylius\\Component\\Attribute\\Model\\AttributeValue\r\n\r\nsylius_variation:\r\n    classes:\r\n        product:\r\n            variable: Sylius\\Component\\Product\\Model\\Product\r\n            variant:\r\n                model: Sylius\\Component\\Product\\Model\\Variant\r\n                repository: Sylius\\Bundle\\ProductBundle\\Doctrine\\ORM\\VariantRepository\r\n\r\nsylius_translation:\r\n    default_locale: %locale%\r\n```\r\n\r\nSeems like a problem with mapping AttributeValueInterface to AttributeValue model."}}