jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
97 stars 84 forks source link

Blank requested file not being overwritten with answer #164

Open mprobson opened 5 months ago

mprobson commented 5 months ago

I've encountered an issue where I've created a blank file in the requested file tab so that students can overwrite it with their answer when finished without having to create a new file that is correctly named. However, when I run/test/evaluate/debug the VPL grabs the original blank file and not the student submission. I've worked around this issue by creating a new assignment and telling them the correct file name to use. I tried reading the documentation and other issues but could not confirm if this was expected behavior. Please let me know what I can do to help solve this and thanks for making such a great tool.

jcrodriguez-dis commented 5 months ago

Dear @mprobson,

Thank you for reaching out and for your kind words about VPL. I understand the issue you're encountering and would like to assist you in resolving it as efficiently as possible. However, I have not been able to reproduce the problem with the latest versions of VPL. To better understand and address the issue, could you please provide the following information:

Additionally, creating a blank file in the "requested files" tab with the intention for it to be overwritten by student submissions is a common practice. However, if a file with identical name file exists among the execution files, it cause the system to replace the student file with the one in the execution files for run/test/evaluate/debug actions. Please verify that there isn't a file with the same name in the execution files list, as this could potentially lead to the behavior you've described.

Best regards,

Juan Carlos