kukuminer / ta-app

Online application and selection platform for teaching assistants
0 stars 0 forks source link

Application funding information throws error if student never had an application before #160

Open jonatanschroeder opened 2 months ago

jonatanschroeder commented 2 months ago
error pulling new term forward:  TypeError: Cannot set properties of null (setting 'availability')
    at Task.<anonymous> (file:///eecs/dept/www/ta-app.eecs.yorku.ca/ta-app/server/api/applicant.js:287:43)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
jonatanschroeder commented 2 months ago

Workaround in production: only updates availability with funding if there is an application. This does not set the default availability in this case, so a proper fix would be great.

kukuminer commented 2 months ago

redesign pull term forward