{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/5632","labels_url":"https://api.github.com/repos/angular/angular/issues/5632/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/5632/comments","events_url":"https://api.github.com/repos/angular/angular/issues/5632/events","html_url":"https://github.com/angular/angular/issues/5632","id":120544316,"number":5632,"title":"http.get(..).map function is not working with alpha 48","user":{"login":"MurhafSousli","id":8130692,"avatar_url":"https://avatars.githubusercontent.com/u/8130692?v=3","gravatar_id":"","url":"https://api.github.com/users/MurhafSousli","html_url":"https://github.com/MurhafSousli","followers_url":"https://api.github.com/users/MurhafSousli/followers","following_url":"https://api.github.com/users/MurhafSousli/following{/other_user}","gists_url":"https://api.github.com/users/MurhafSousli/gists{/gist_id}","starred_url":"https://api.github.com/users/MurhafSousli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MurhafSousli/subscriptions","organizations_url":"https://api.github.com/users/MurhafSousli/orgs","repos_url":"https://api.github.com/users/MurhafSousli/repos","events_url":"https://api.github.com/users/MurhafSousli/events{/privacy}","received_events_url":"https://api.github.com/users/MurhafSousli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-12-05T09:58:16Z","updated_at":"2016-01-04T17:27:34Z","closed_at":"2015-12-19T03:12:31Z","body":"since I updated to alpha 48, http.get(...).map is no longer working.\r\n\r\n `EXCEPTION: TypeError: json.map is not a function in [null]`\r\n```\r\n@Injectable()\r\nexport class WPService implements IWPService {\r\n    baseURL: string = 'http://localhost/wptest/api';\r\n    http: Http;\r\n    constructor(http: Http) {\r\n        this.http = http;\r\n    }\r\n    GetPosts() {\r\n        var query = this.baseURL + '/get_posts/';\r\n        return new JsonObject(this.http.get(query));\r\n    }\r\n}\r\n\r\n@Injectable()\r\nexport class JsonObject {\r\n    constructor(json: Observable<any>) {\r\n        json.map(res => res.json()).map(data => {          // <= \r\n            for (var entry in data) {\r\n                if (data.hasOwnProperty(entry)) {\r\n                    this[entry] = data[entry];\r\n                }\r\n            }\r\n        }).subscribe();\r\n    }\r\n}\r\n```\r\n\r\nwhen I downgraded to alpha 47, .map worked again. maybe it has something to do with the integrated rxjs"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/168743473","html_url":"https://github.com/angular/angular/issues/5632#issuecomment-168743473","issue_url":"https://api.github.com/repos/angular/angular/issues/5632","id":168743473,"user":{"login":"jasonspick","id":4552494,"avatar_url":"https://avatars.githubusercontent.com/u/4552494?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonspick","html_url":"https://github.com/jasonspick","followers_url":"https://api.github.com/users/jasonspick/followers","following_url":"https://api.github.com/users/jasonspick/following{/other_user}","gists_url":"https://api.github.com/users/jasonspick/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonspick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonspick/subscriptions","organizations_url":"https://api.github.com/users/jasonspick/orgs","repos_url":"https://api.github.com/users/jasonspick/repos","events_url":"https://api.github.com/users/jasonspick/events{/privacy}","received_events_url":"https://api.github.com/users/jasonspick/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T17:27:34Z","updated_at":"2016-01-04T17:27:34Z","body":"Chrome is throwing a 403 when doing what is described above, is anyone else seeing this?\r\n\r\nnode_modules/rxjs/Observable/ 403 (Forbidden)"}}