hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.34k stars 292 forks source link

🪲 Make `adventure_name` necessary when storing a program #5458

Open jpelay opened 7 months ago

jpelay commented 7 months ago

Describe the bug

There was an error a few days ago related to programs being stored with adventure_name set to None. I think we should make them necessary every time we store a program.

This also entails not storing programs from the embedded editor and parsons.

Felienne commented 1 day ago

High prio to check if this is still an issue? It can lead to a lot of errors so it would be good to fix it and also check the DB how we deal with programs that don't have an adventure name?