Artemis
Artemis copied to clipboard
`Programming Exercise`: Changing the short name while importing breaks tests
Describe the bug
When importing a programming exercise from a file, if the user changes the short name of the exercise, it somehow breaks the test.json file in the test repository. This causes issues with the solution and student builds (some test cases don't work, and the result can't be 100%)
To Reproduce
- Download a programming exercise by going to the exercise details page
- Import the exercise into another course
- When importing, change the short name
- The solution build won't get 100% and you'll see a warning (see screenshots)
Expected behavior
The solution build gets a 100% score.
Screenshots

Which version of Artemis are you seeing the problem on?
6.4.3
What browsers are you seeing the problem on?
Chrome
Additional context
Discovered while testing #7178
Relevant log output
No response