{"action":"created","issue":{"url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/102","labels_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/102/comments","events_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/102/events","html_url":"https://github.com/eventespresso/event-espresso-core/pull/102","id":98006981,"number":102,"title":"deserialize in prepare_for_get","user":{"login":"robert-osborne","id":382392,"avatar_url":"https://avatars.githubusercontent.com/u/382392?v=3","gravatar_id":"","url":"https://api.github.com/users/robert-osborne","html_url":"https://github.com/robert-osborne","followers_url":"https://api.github.com/users/robert-osborne/followers","following_url":"https://api.github.com/users/robert-osborne/following{/other_user}","gists_url":"https://api.github.com/users/robert-osborne/gists{/gist_id}","starred_url":"https://api.github.com/users/robert-osborne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert-osborne/subscriptions","organizations_url":"https://api.github.com/users/robert-osborne/orgs","repos_url":"https://api.github.com/users/robert-osborne/repos","events_url":"https://api.github.com/users/robert-osborne/events{/privacy}","received_events_url":"https://api.github.com/users/robert-osborne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eventespresso/event-espresso-core/labels/unverified%20bug","name":"unverified bug","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"mnelson4","id":1766382,"avatar_url":"https://avatars.githubusercontent.com/u/1766382?v=3","gravatar_id":"","url":"https://api.github.com/users/mnelson4","html_url":"https://github.com/mnelson4","followers_url":"https://api.github.com/users/mnelson4/followers","following_url":"https://api.github.com/users/mnelson4/following{/other_user}","gists_url":"https://api.github.com/users/mnelson4/gists{/gist_id}","starred_url":"https://api.github.com/users/mnelson4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnelson4/subscriptions","organizations_url":"https://api.github.com/users/mnelson4/orgs","repos_url":"https://api.github.com/users/mnelson4/repos","events_url":"https://api.github.com/users/mnelson4/events{/privacy}","received_events_url":"https://api.github.com/users/mnelson4/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-07-29T19:03:52Z","updated_at":"2015-07-30T15:54:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eventespresso/event-espresso-core/pulls/102","html_url":"https://github.com/eventespresso/event-espresso-core/pull/102","diff_url":"https://github.com/eventespresso/event-espresso-core/pull/102.diff","patch_url":"https://github.com/eventespresso/event-espresso-core/pull/102.patch"},"body":"A object->get('serialized_field') on a serialzed field containting an encoded array should return the array instead of the encoded string"},"comment":{"url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/comments/126378732","html_url":"https://github.com/eventespresso/event-espresso-core/pull/102#issuecomment-126378732","issue_url":"https://api.github.com/repos/eventespresso/event-espresso-core/issues/102","id":126378732,"user":{"login":"robert-osborne","id":382392,"avatar_url":"https://avatars.githubusercontent.com/u/382392?v=3","gravatar_id":"","url":"https://api.github.com/users/robert-osborne","html_url":"https://github.com/robert-osborne","followers_url":"https://api.github.com/users/robert-osborne/followers","following_url":"https://api.github.com/users/robert-osborne/following{/other_user}","gists_url":"https://api.github.com/users/robert-osborne/gists{/gist_id}","starred_url":"https://api.github.com/users/robert-osborne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robert-osborne/subscriptions","organizations_url":"https://api.github.com/users/robert-osborne/orgs","repos_url":"https://api.github.com/users/robert-osborne/repos","events_url":"https://api.github.com/users/robert-osborne/events{/privacy}","received_events_url":"https://api.github.com/users/robert-osborne/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T15:54:01Z","updated_at":"2015-07-30T15:54:01Z","body":"I'm really not doing anything exciting.   Creating the object is initially via the EE_Base::instantiate_class_from_array_or_object and it's definitely an array at that point and gets into the database correctly.   I'm instantiating via get_one_by_ID.\r\n\r\nStepping through the get code reveals that the get goes directly to EE_Text_Field_Base::prepare_for_get which just stripslashes from the string and returns the raw \"a:2:{i:0;s:13:\"register_self\";i:1;s:15:\"register_others\";}\"\r\n\r\nMy \"test code\" is literally:\r\n\r\n$testInstance = EEM_Ypogroup_Role::instance();\r\n$testRole = $testInstance->get_one_by_ID($ID);\r\n$testPerms = $testRole->get('GRR_permissions');\r\n\r\n"}}