Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ private void getLicensesReports(
private void getLicensesInfoReports(
HttpServletResponse response, User sw360User, String module, String projectId, SW360ReportBean reportBean
) throws SW360Exception {
// TODO: use `withSubProject` while generating LicenseInfo report.
try {
downloadExcelReport(response, sw360User, module, projectId, defaultByteBufferVal, reportBean);
} catch (Exception e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ public ByteBuffer getLicenseInfoBuffer(User sw360User, String id, SW360ReportBea
: null;

List<ProjectLink> mappedProjectLinks = projectService.createLinkedProjects(sw360Project,
projectService.filterAndSortAttachments(SW360Constants.LICENSE_INFO_ATTACHMENT_TYPES), true, true, sw360User);
projectService.filterAndSortAttachments(SW360Constants.LICENSE_INFO_ATTACHMENT_TYPES), true,
reportBean.isWithSubProject(), sw360User);

List<AttachmentUsage> attchmntUsg = attachmentService.getAttachemntUsages(id);

Expand Down
Loading