Whenever there's a student without selection, at least in RRISD, this.retriever.getYear() fails with the error "no student loaded". To duplicate, try this code using the mock server:
yash = new GradeService();
var promise = yash.attemptLogin(Districts.roundrock, "zengx", "test");
promise.then(function(students) {
console.log(students);
}, function(err) {
console.log(err);
});
Whenever there's a student without selection, at least in RRISD, this.retriever.getYear() fails with the error "no student loaded". To duplicate, try this code using the mock server: