{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4030","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4030/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4030/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4030/events","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4030","id":63743278,"number":4030,"title":"FIX Debug::text no longer incorrecty returns \"ViewableData_debugger\"","user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-23T14:54:34Z","updated_at":"2015-03-24T10:38:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/pulls/4030","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4030","diff_url":"https://github.com/silverstripe/silverstripe-framework/pull/4030.diff","patch_url":"https://github.com/silverstripe/silverstripe-framework/pull/4030.patch"},"body":"Fixes an issue when `Debug::show($var)` would sometimes just return `ViewabledData_Debugger` instead of debug info.\r\n\r\nThis was because `debug()` on the base `ViewableData` returns an object and not a string."},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/85444138","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/4030#issuecomment-85444138","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/4030","id":85444138,"user":{"login":"dhensby","id":563596,"avatar_url":"https://avatars.githubusercontent.com/u/563596?v=3","gravatar_id":"","url":"https://api.github.com/users/dhensby","html_url":"https://github.com/dhensby","followers_url":"https://api.github.com/users/dhensby/followers","following_url":"https://api.github.com/users/dhensby/following{/other_user}","gists_url":"https://api.github.com/users/dhensby/gists{/gist_id}","starred_url":"https://api.github.com/users/dhensby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhensby/subscriptions","organizations_url":"https://api.github.com/users/dhensby/orgs","repos_url":"https://api.github.com/users/dhensby/repos","events_url":"https://api.github.com/users/dhensby/events{/privacy}","received_events_url":"https://api.github.com/users/dhensby/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T10:38:02Z","updated_at":"2015-03-24T10:38:02Z","body":"in fact, it's already cast as a string, which is why it appears as \"VieableData_Debugger\" when `Debug::show()` is used (the default `__toString` is to return the classname) so I should only need to implement a `__toString` on the debugger to fix this in 3"}}