{"action":"created","issue":{"url":"https://api.github.com/repos/libgraviton/graviton/issues/57","labels_url":"https://api.github.com/repos/libgraviton/graviton/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/libgraviton/graviton/issues/57/comments","events_url":"https://api.github.com/repos/libgraviton/graviton/issues/57/events","html_url":"https://github.com/libgraviton/graviton/pull/57","id":60081568,"number":57,"title":"fix install flow","user":{"login":"narcoticfresh","id":245441,"avatar_url":"https://avatars.githubusercontent.com/u/245441?v=3","gravatar_id":"","url":"https://api.github.com/users/narcoticfresh","html_url":"https://github.com/narcoticfresh","followers_url":"https://api.github.com/users/narcoticfresh/followers","following_url":"https://api.github.com/users/narcoticfresh/following{/other_user}","gists_url":"https://api.github.com/users/narcoticfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/narcoticfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narcoticfresh/subscriptions","organizations_url":"https://api.github.com/users/narcoticfresh/orgs","repos_url":"https://api.github.com/users/narcoticfresh/repos","events_url":"https://api.github.com/users/narcoticfresh/events{/privacy}","received_events_url":"https://api.github.com/users/narcoticfresh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lapistano","id":95115,"avatar_url":"https://avatars.githubusercontent.com/u/95115?v=3","gravatar_id":"","url":"https://api.github.com/users/lapistano","html_url":"https://github.com/lapistano","followers_url":"https://api.github.com/users/lapistano/followers","following_url":"https://api.github.com/users/lapistano/following{/other_user}","gists_url":"https://api.github.com/users/lapistano/gists{/gist_id}","starred_url":"https://api.github.com/users/lapistano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lapistano/subscriptions","organizations_url":"https://api.github.com/users/lapistano/orgs","repos_url":"https://api.github.com/users/lapistano/repos","events_url":"https://api.github.com/users/lapistano/events{/privacy}","received_events_url":"https://api.github.com/users/lapistano/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-06T10:00:55Z","updated_at":"2015-03-06T10:48:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgraviton/graviton/pulls/57","html_url":"https://github.com/libgraviton/graviton/pull/57","diff_url":"https://github.com/libgraviton/graviton/pull/57.diff","patch_url":"https://github.com/libgraviton/graviton/pull/57.patch"},"body":"I received the following error after `composer install` and loading the fixtures afterwards:\r\n\r\n```\r\n[JMS\\Serializer\\Exception\\RuntimeException]                                 \r\n  You must define a type for GravitonDyn\\ModuleBundle\\Document\\Module::$key.\r\n```\r\n\r\nChanging the order of install commands as in this PR fixes this. I'm not sure why, but it does it ;-)\r\nThe error currently prevents the fixtures from getting loaded, so we need this fix asap.."},"comment":{"url":"https://api.github.com/repos/libgraviton/graviton/issues/comments/77540462","html_url":"https://github.com/libgraviton/graviton/pull/57#issuecomment-77540462","issue_url":"https://api.github.com/repos/libgraviton/graviton/issues/57","id":77540462,"user":{"login":"hairmare","id":116588,"avatar_url":"https://avatars.githubusercontent.com/u/116588?v=3","gravatar_id":"","url":"https://api.github.com/users/hairmare","html_url":"https://github.com/hairmare","followers_url":"https://api.github.com/users/hairmare/followers","following_url":"https://api.github.com/users/hairmare/following{/other_user}","gists_url":"https://api.github.com/users/hairmare/gists{/gist_id}","starred_url":"https://api.github.com/users/hairmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairmare/subscriptions","organizations_url":"https://api.github.com/users/hairmare/orgs","repos_url":"https://api.github.com/users/hairmare/repos","events_url":"https://api.github.com/users/hairmare/events{/privacy}","received_events_url":"https://api.github.com/users/hairmare/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T10:48:00Z","updated_at":"2015-03-06T10:48:00Z","body":"This works due to the scripts now being after ``Sensio\\\\Bundle\\\\DistributionBundle\\\\Composer\\\\ScriptHandler::clearCache``."}}