From 7ee70058463dcab0bf40af7b3b6a0bef655a2601 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Tue, 16 Nov 2021 11:33:51 +0100 Subject: [PATCH] Improved: On advice of adityasharad try something else in codeql-analysis.yml See https://github.com/github/vscode-codeql/issues/735#issuecomment-969348461 Still not quire sure of the syntax, trying again before asking OK no needs to ask, I missed 2 spaces before with It also needs a not functional change for codeQL to run --- .github/workflows/codeql-analysis.yml | 2 +- .../org/apache/ofbiz/party/party/PartyRelationshipServices.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 71aed006bd..28c2e0db73 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -92,5 +92,5 @@ jobs: - name: Debug uses: github/codeql-action@v1 with: - debug: true + debug: true diff --git a/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java b/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java index 22ebe890aa..71fa98591e 100644 --- a/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java +++ b/applications/party/src/main/java/org/apache/ofbiz/party/party/PartyRelationshipServices.java @@ -46,6 +46,7 @@ import org.apache.ofbiz.service.ServiceUtil; public class PartyRelationshipServices { private static final String MODULE = PartyRelationshipServices.class.getName(); + private static final String RESOURCE = "PartyUiLabels"; private static final String RES_ERROR = "PartyErrorUiLabels"; /** Creates and updates a PartyRelationship creating related PartyRoles if needed.