Artemis icon indicating copy to clipboard operation
Artemis copied to clipboard

`Programming Exercise`: Changing the short name while importing breaks tests

Open terlan98 opened this issue 1 year ago • 4 comments

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

  1. Download a programming exercise by going to the exercise details page
  2. Import the exercise into another course
  3. When importing, change the short name
  4. 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

Screenshot 2023-09-13 at 10 14 43 Screenshot 2023-09-12 at 14 01 56

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

terlan98 avatar Sep 13 '23 06:09 terlan98