{"action":"opened","issue":{"url":"https://api.github.com/repos/surveyjs/surveyjs/issues/657","repository_url":"https://api.github.com/repos/surveyjs/surveyjs","labels_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/657/labels{/name}","comments_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/657/comments","events_url":"https://api.github.com/repos/surveyjs/surveyjs/issues/657/events","html_url":"https://github.com/surveyjs/surveyjs/issues/657","id":257672547,"number":657,"title":"Editing a previously filled survey and going directly to a page having restful choices, then the choices are not populated","user":{"login":"gaurav-singhal","id":26900527,"avatar_url":"https://avatars2.githubusercontent.com/u/26900527?v=4","gravatar_id":"","url":"https://api.github.com/users/gaurav-singhal","html_url":"https://github.com/gaurav-singhal","followers_url":"https://api.github.com/users/gaurav-singhal/followers","following_url":"https://api.github.com/users/gaurav-singhal/following{/other_user}","gists_url":"https://api.github.com/users/gaurav-singhal/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurav-singhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurav-singhal/subscriptions","organizations_url":"https://api.github.com/users/gaurav-singhal/orgs","repos_url":"https://api.github.com/users/gaurav-singhal/repos","events_url":"https://api.github.com/users/gaurav-singhal/events{/privacy}","received_events_url":"https://api.github.com/users/gaurav-singhal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-14T10:36:26Z","updated_at":"2017-09-14T10:36:26Z","closed_at":null,"author_association":"NONE","body":"### Are you requesting a feature, reporting a bug or ask a question?\r\n\r\nBUG!\r\n\r\n### What is the current behavior?\r\n\r\nWhen we edit a previously filled survey and take user directly to say 2nd or 3rd page instead of 1st which has choices coming from restful services, then the choices from restful services are not loaded.\r\n\r\n\r\n### What is the expected behavior?\r\nChoices should be loaded from restful services even in first instance.\r\n\r\n\r\n### How would you reproduce the current behavior (if this is a bug)?\r\n\r\n\r\n\r\n#### Provide the test code and the tested page URL (if applicable)\r\n\r\nTested page URL:\r\n\r\nTest code\r\n\r\n```\r\nngOnInit() {\r\n        this.surveyService.getSurvey(1).then(survey => {\r\n            this.surveyModel = new Survey.ReactSurveyModel(survey);\r\n            if (this.route.snapshot.paramMap.get('resultId')) {\r\n                this.responseId = +this.route.snapshot.paramMap.get('resultId');\r\n                this.userService.getToken().then(token => {\r\n                    this.surveyService.getSurveyResponse(this.responseId, token).then(data => {\r\n                        survey.data = data;\r\n                        this.surveyModel.currentPageNo = +this.route.snapshot.paramMap.get('pageNum');\r\n                        Survey.SurveyNG.render('surveyElement', { model: this.surveyModel });\r\n                    })\r\n                })\r\n            } else {\r\n                Survey.SurveyNG.render('surveyElement', { model: this.surveyModel });\r\n            }\r\n        });\r\n    }\r\n\r\n```\r\n\r\n### Specify your\r\n\r\n* browser:\r\n* browser version:\r\n* surveyjs platform (angular or react or jquery or knockout or vue): angular\r\n* surveyjs version: 0.12.26\r\n"}}
{"actor":{"display_login":"gaurav-singhal"}}