Skip to content

Fix rooms being assigned incorrectly when repeating labs.

What does this mr do?

This mr adds a test to run the bug regarding the repeating of labs throwing a JpaSystemException. The bug was afterwards fixed.

Actions taken to fix bug

In order to fix the bug, we needed to do a deep copy of the list of rooms we used for the next lab. This is because 2 labs cannot have the same list of rooms according to the database.

Does this MR meet the acceptance criteria?

  • A test was created to test the bug.
  • I have updated the documentation accordingly.
  • I adhere to the style guide.

Merge request reports