Skip to content

Commit

Permalink
Merge pull request #539 from bcgov/hotfix/GRAD2-3012
Browse files Browse the repository at this point in the history
GRAD2-3012: User Request REGALG is fixed to show the correct update user & activity code in audit history
  • Loading branch information
infstar authored Nov 22, 2024
2 parents bdb35c1 + 98d80be commit e7f480c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,6 @@ public ResponseEntity<BatchJobResponse> launchRegGradSpecialJob(@RequestBody Stu
response.setTriggerBy(MANUAL);
response.setStartTime(LocalDateTime.now());
response.setStatus(BatchStatusEnum.STARTED.name());
if(StringUtils.isBlank(studentSearchRequest.getActivityCode())) {
studentSearchRequest.setActivityCode("USERDIST");
}
validateInput(response, studentSearchRequest);
if(response.getException() != null) {
return ResponseEntity.status(400).body(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import ca.bc.gov.educ.api.batchgraduation.entity.BatchGradAlgorithmJobHistoryEntity;
import ca.bc.gov.educ.api.batchgraduation.model.AlgorithmSummaryDTO;
import ca.bc.gov.educ.api.batchgraduation.model.ProcessError;
import ca.bc.gov.educ.api.batchgraduation.model.ResponseObj;
import ca.bc.gov.educ.api.batchgraduation.model.StudentSearchRequest;
import ca.bc.gov.educ.api.batchgraduation.rest.RestUtils;
import ca.bc.gov.educ.api.batchgraduation.service.GradBatchHistoryService;
Expand Down Expand Up @@ -84,7 +83,6 @@ protected void handleSummary(JobExecution jobExecution, String summaryDtoName, b
}
LOGGER.info(" --------------------------------------------------------------------------------------");

ResponseObj obj = restUtils.getTokenResponseObject();
if (!isSpecialRun) {
updateBackStudentFlagForErroredStudents(summaryDTO.getErrors(), jobType);
}
Expand Down

0 comments on commit e7f480c

Please sign in to comment.