Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed issue 656, Grace periods not calculated correctly on the basis on the repo times #759
Fix for issue 656. Previously, when calcuating grace days, we were only checking last submittion. However, that does not provide a correct calcuation as we could have submitted files for another assignment and that would cause MarkUs to think we are using a grace day. The Fix is to check to see if the revision has submitted any files from the assignment and only submittions that contain files for the assignment do we used to calcuate grace days. This fix is for both memory_repository and subversion_repository.
Manual Testing Done
Plus ran both unit testing and functional testing