Skip to content
Snippets Groups Projects
Verified Commit 88e4e545 authored by Luc Everse's avatar Luc Everse :passport_control:
Browse files

Send NULL insteadof empty feedback when sending score

parent 6a289718
No related branches found
No related tags found
2 merge requests!179Release 2.5.0,!177Submit integration
......@@ -291,7 +291,7 @@ public class SubmitAppController extends ControllerBase
*/
private void sendFeedback(
final URL url,
final String report,
final @Nullable String report,
final String visibleFor,
final SubmitAppMetadata submitMetadata,
final @Nullable Integer score
......@@ -348,7 +348,11 @@ public class SubmitAppController extends ControllerBase
score = -1;
}
this.sendFeedback(url, "", "STUDENT", submitMetadata, score);
logger.info("Sending score {} to Submit for submission {} as script {}",
score, submitMetadata.getSubmissionId(), submitMetadata.getScriptId()
);
this.sendFeedback(url, null, "STUDENT", submitMetadata, score);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment