node-demo
node-demo copied to clipboard
Add a question to a quizz: 404
Hi !
got a 404 page when i try to reach http://localhost:3000/admin/quizzes/1/questions/new
(http://localhost:3000/admin/quizzes/1/edit
works well). Here are logs of my terminal:
Executing (default): SELECT * FROM `quizzes` WHERE `quizzes`.`id`='1' LIMIT 1;
GET /admin/quizzes/1/questions/new 404 4ms
info - transport end (undefined)
info - handshake authorized CkrlBJAuc8auIO8UgrjT
Can you help me fixing it ?
Hey there,
A related issue existed about 8 days ago as Sequelize changed stuff since last Fall, I stumbled upon it and fixed it.
Are you up-to-date on the latest master? It works for me on the current codebase, with or without a prior database…
Also, I fail to see how it could generate a 404 instead of a 5xx error?
Best,
Hi !
I am currently on commit Ajustement LCD Arduino pour Mix-IT (SHA : 12004d1)
and i still have got Cannot GET /admin/quizzes/2/questions/new
when i try to reach http://localhost:3000/admin/quizzes/2/questions/new.
Merci d'avance. Rémi
Hey,
Ooops, sorry about that, had read "new quiz", not "new question". Will check it out tomorrow and let you know.
Hello,
Yup, not your fault, issues with how express-namespace interacted with the new Express 4 code. And when that got fixed, ran into the same Sequelize upgrade issue I had (daoFactory
not available on model instances anymore), so fixed that. All back screens now work!