This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 0c7d0c0 Improved: On advice of adityasharad try something else in
codeql-analysis.yml
0c7d0c0 is described below
commit 0c7d0c05a1274d303ce9ba2359524df5e5364967
Author: Jacques Le Roux <[email protected]>
AuthorDate: Tue Nov 16 11:45:19 2021 +0100
Improved: On advice of adityasharad try something else in
codeql-analysis.yml
See
https://github.com/github/vscode-codeql/issues/735#issuecomment-969348461
Syntax given by adityasharad seems to not work, trying something near
It also needs a not functional change for codeQL to run
---
.github/workflows/codeql-analysis.yml | 2 +-
.../java/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 bdf34a5..70814bb 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -90,7 +90,7 @@ jobs:
# uses: github/codeql-action/analyze@v1
- name: Debug
- uses: github/codeql-action@v1
+ uses: github/codeql-action/analyze@v1
with:
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 22ebe89..71fa985 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.