From 083b8ebc72dc9a3217ddb858b969e51c1092f76c Mon Sep 17 00:00:00 2001 From: arybakov Date: Wed, 8 Nov 2023 13:44:58 -0700 Subject: [PATCH] GRAD2-2306 HD-21559-GRAD - P3 - GRAD is creating blank transcripts --- .../report/service/impl/StudentTranscriptServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/src/main/java/ca/bc/gov/educ/grad/report/service/impl/StudentTranscriptServiceImpl.java b/api/src/main/java/ca/bc/gov/educ/grad/report/service/impl/StudentTranscriptServiceImpl.java index a7850d71..2f16a9cb 100644 --- a/api/src/main/java/ca/bc/gov/educ/grad/report/service/impl/StudentTranscriptServiceImpl.java +++ b/api/src/main/java/ca/bc/gov/educ/grad/report/service/impl/StudentTranscriptServiceImpl.java @@ -155,7 +155,6 @@ public StudentTranscriptReport buildUnOfficialTranscriptReport(final ReportForma * * @return * @throws DomainServiceException - * @throws IOException * @throws DataException */ @@ -275,7 +274,7 @@ private StudentTranscriptReport createTranscriptReport( */ private List getTranscriptCourseList( final String pen, final boolean interim) - throws DataException, DomainServiceException { + throws DomainServiceException { final String methodName = "getTranscriptCourseList(String, boolean)"; LOG.entering(CLASSNAME, methodName); @@ -314,7 +313,7 @@ private List getTranscriptCourseList( * * @param transcriptTypeCode * @param graduationProgramCode The graduation program code that influences sort order. - * @param transcriptCourses + * @param transcriptCourses Transcript Courses * @param issueDate */ private Transcript adapt( @@ -544,8 +543,9 @@ private synchronized StudentTranscriptReport createReport( report.setBlank(StringUtils.isBlank(student.getPen().getPen())); ca.bc.gov.educ.grad.report.dto.reports.data.impl.Student stu = (ca.bc.gov.educ.grad.report.dto.reports.data.impl.Student)report.getDataSource(); - final ReportDocument document = reportService.export(report); + LOG.log(Level.FINE, "DataSource Student created {1}.", new Object[]{stu.getPEN()}); + final ReportDocument document = reportService.export(report); LOG.log(Level.FINE, "Created document {0} for student {1}.", new Object[]{document, student.getPen()}); final String filename = report.getFilename();