{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/12963","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/12963/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/12963/comments","events_url":"https://api.github.com/repos/atom/atom/issues/12963/events","html_url":"https://github.com/atom/atom/issues/12963","id":182628800,"number":12963,"title":"Pane .addItem throwing error when trying to add text editor to it","user":{"login":"mupchrch","id":5797698,"avatar_url":"https://avatars.githubusercontent.com/u/5797698?v=3","gravatar_id":"","url":"https://api.github.com/users/mupchrch","html_url":"https://github.com/mupchrch","followers_url":"https://api.github.com/users/mupchrch/followers","following_url":"https://api.github.com/users/mupchrch/following{/other_user}","gists_url":"https://api.github.com/users/mupchrch/gists{/gist_id}","starred_url":"https://api.github.com/users/mupchrch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mupchrch/subscriptions","organizations_url":"https://api.github.com/users/mupchrch/orgs","repos_url":"https://api.github.com/users/mupchrch/repos","events_url":"https://api.github.com/users/mupchrch/events{/privacy}","received_events_url":"https://api.github.com/users/mupchrch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-12T20:41:48Z","updated_at":"2016-10-13T14:11:58Z","closed_at":null,"body":"### Description\r\n\r\nMy package is broken because it adds a new text editor to a pane by doing something like `atom.workspace.getActivePane().addItem(atom.workspace.buildTextEditor())` but gets an error: `Uncaught TypeError: Arguments to CompositeDisposable.add must have a .dispose() method`\r\n\r\n### Steps to Reproduce\r\n\r\n1. Run `atom.workspace.getActivePane().addItem(atom.workspace.buildTextEditor())` in the console\r\n2. Notice there is an error\r\n\r\n**Expected behavior:** I would expect a new text editor to be added to the active pane.\r\n\r\n**Actual behavior:** Nothing happens except for an error.\r\n\r\n### Versions\r\n\r\nAtom v1.11.1 - MacOS\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/253524656","html_url":"https://github.com/atom/atom/issues/12963#issuecomment-253524656","issue_url":"https://api.github.com/repos/atom/atom/issues/12963","id":253524656,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T14:11:58Z","updated_at":"2016-10-13T14:11:58Z","body":"/cc @maxbrunsfeld - is this fixed in 1.12-beta?"}}
{"actor":{"display_login":"50Wliu"}}