{"action":"created","issue":{"url":"https://api.github.com/repos/jonaswouters/XhprofBundle/issues/74","labels_url":"https://api.github.com/repos/jonaswouters/XhprofBundle/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/jonaswouters/XhprofBundle/issues/74/comments","events_url":"https://api.github.com/repos/jonaswouters/XhprofBundle/issues/74/events","html_url":"https://github.com/jonaswouters/XhprofBundle/pull/74","id":87330560,"number":74,"title":"Bypass Doctrine in favor of Xhgui serialization","user":{"login":"aheinz-sg","id":10038684,"avatar_url":"https://avatars.githubusercontent.com/u/10038684?v=3","gravatar_id":"","url":"https://api.github.com/users/aheinz-sg","html_url":"https://github.com/aheinz-sg","followers_url":"https://api.github.com/users/aheinz-sg/followers","following_url":"https://api.github.com/users/aheinz-sg/following{/other_user}","gists_url":"https://api.github.com/users/aheinz-sg/gists{/gist_id}","starred_url":"https://api.github.com/users/aheinz-sg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheinz-sg/subscriptions","organizations_url":"https://api.github.com/users/aheinz-sg/orgs","repos_url":"https://api.github.com/users/aheinz-sg/repos","events_url":"https://api.github.com/users/aheinz-sg/events{/privacy}","received_events_url":"https://api.github.com/users/aheinz-sg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-11T12:33:38Z","updated_at":"2015-09-18T19:32:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jonaswouters/XhprofBundle/pulls/74","html_url":"https://github.com/jonaswouters/XhprofBundle/pull/74","diff_url":"https://github.com/jonaswouters/XhprofBundle/pull/74.diff","patch_url":"https://github.com/jonaswouters/XhprofBundle/pull/74.patch"},"body":"This is still a work in progress, but I wanted to get it up for review. I have a few problems with it as it currently stands:\r\n1. The hardcoded change to Resources/config/services.xml is inappropriate, but I haven't found the syntax to get it to pick up my parameter, i.e. ```<argument type=\"service\" id=\"%jns_xhprof.manager_registry%\" on-invalid=\"null\" />```, which doesn't work.\r\n2. It doesn't output fully Xhgui-compatible results. This causes Xhgui to error (warning) out with \"Undefined index: meta\" when I attempt to view the run list. Currently experimenting with dialing down my error_reporting.\r\n3. I originally implemented this with less copy/paste. It was simple enough to pull most of the entity into a model class, then have both entity and document inherit the model, which didn't work. None of the properties from the mapped superclass were picked up and it was saving to mongo documents with only an id."},"comment":{"url":"https://api.github.com/repos/jonaswouters/XhprofBundle/issues/comments/141545606","html_url":"https://github.com/jonaswouters/XhprofBundle/pull/74#issuecomment-141545606","issue_url":"https://api.github.com/repos/jonaswouters/XhprofBundle/issues/74","id":141545606,"user":{"login":"aheinz-sg","id":10038684,"avatar_url":"https://avatars.githubusercontent.com/u/10038684?v=3","gravatar_id":"","url":"https://api.github.com/users/aheinz-sg","html_url":"https://github.com/aheinz-sg","followers_url":"https://api.github.com/users/aheinz-sg/followers","following_url":"https://api.github.com/users/aheinz-sg/following{/other_user}","gists_url":"https://api.github.com/users/aheinz-sg/gists{/gist_id}","starred_url":"https://api.github.com/users/aheinz-sg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aheinz-sg/subscriptions","organizations_url":"https://api.github.com/users/aheinz-sg/orgs","repos_url":"https://api.github.com/users/aheinz-sg/repos","events_url":"https://api.github.com/users/aheinz-sg/events{/privacy}","received_events_url":"https://api.github.com/users/aheinz-sg/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T19:32:21Z","updated_at":"2015-09-18T19:32:21Z","body":"It occurs to me that instead of enable_xhgui_new, I could look at the entity manager type and behave one way for documents and the other for entities... out of time for this project for now though."}}