diff --git a/backend/src/src-licenseinfo/src/main/java/org/eclipse/sw360/licenseinfo/outputGenerators/DocxGenerator.java b/backend/src/src-licenseinfo/src/main/java/org/eclipse/sw360/licenseinfo/outputGenerators/DocxGenerator.java index 63dd39e41c..d5e9bbf8f9 100644 --- a/backend/src/src-licenseinfo/src/main/java/org/eclipse/sw360/licenseinfo/outputGenerators/DocxGenerator.java +++ b/backend/src/src-licenseinfo/src/main/java/org/eclipse/sw360/licenseinfo/outputGenerators/DocxGenerator.java @@ -24,6 +24,10 @@ import org.eclipse.sw360.datahandler.thrift.components.ComponentService; import org.eclipse.sw360.datahandler.thrift.components.Release; import org.eclipse.sw360.datahandler.thrift.components.ReleaseLink; +import org.eclipse.sw360.datahandler.common.SW360Utils; +import org.eclipse.sw360.datahandler.thrift.SW360Exception; +import org.eclipse.sw360.datahandler.thrift.ThriftClients; +import org.eclipse.sw360.datahandler.thrift.components.Release; import org.eclipse.sw360.datahandler.thrift.licenseinfo.*; import org.eclipse.sw360.datahandler.thrift.licenses.License; import org.eclipse.sw360.datahandler.thrift.licenses.LicenseService; @@ -180,6 +184,8 @@ private void fillReportDocument( fillCommonRulesTable(document, project); fillAdditionalRequirementsTable(document, obligationResults); + fillCommonRulesTable(document, project); + // because of the impossible API component subsections must be the last thing in the docx file // the rest of the sections must be generated after this writeComponentSubsections(document, projectLicenseInfoResults, obligationResults); diff --git a/libraries/lib-datahandler/src/main/thrift/projects.thrift b/libraries/lib-datahandler/src/main/thrift/projects.thrift index c1f98b220b..638cd56773 100644 --- a/libraries/lib-datahandler/src/main/thrift/projects.thrift +++ b/libraries/lib-datahandler/src/main/thrift/projects.thrift @@ -14,6 +14,7 @@ include "attachments.thrift" include "vendors.thrift" include "components.thrift" include "sw360.thrift" +include "commonobligations.thrift" include "licenses.thrift" namespace java org.eclipse.sw360.datahandler.thrift.projects