-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Student: Comment on responses: Fix put document error #9034 #9035
Conversation
@xpdavid Put comment document was failing silently because comment id was null. Please review. |
@@ -307,7 +307,7 @@ private void saveNewCommentsByFeedbackParticipant(List<FeedbackResponseCommentAt | |||
throws EntityDoesNotExistException { | |||
for (FeedbackResponseCommentAttributes frc : commentsToSave) { | |||
try { | |||
logic.createFeedbackResponseComment(frc); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add a test for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will the test fail before the fix?
Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a nit. Can merge after that.
* @param expected the expected results for the search query. | ||
*/ | ||
protected static void verifySearchResults(FeedbackResponseCommentSearchResultBundle actual, | ||
FeedbackResponseCommentAttributes... expected) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be 8-space indentation?
Fixes #9034