struts.git: Error while running github feature from main:.asf.yaml

2025-03-30 Thread Apache Infrastructure


An error occurred while processing the github feature in .asf.yaml: 

while parsing a mapping
  in "struts.git/.asf.yaml::github", line 7, column 1:
  # contexts are the names o ... 
^ (line: 7)
unexpected key not in schema 'contexts'
  in "struts.git/.asf.yaml::github", line 8, column 1:
contexts:
^ (line: 8)

---
With regards, ASF Infra.



(struts) branch dependabot/github_actions/github/codeql-action-3.28.12 deleted (was 28a485d68)

2025-03-30 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/github_actions/github/codeql-action-3.28.12
in repository https://gitbox.apache.org/repos/asf/struts.git


 was 28a485d68 Bump github/codeql-action from 3.28.10 to 3.28.12

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(struts) branch dependabot/maven/ognl-ognl-3.4.6 deleted (was aa77ff661)

2025-03-30 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch dependabot/maven/ognl-ognl-3.4.6
in repository https://gitbox.apache.org/repos/asf/struts.git


 was aa77ff661 Bump ognl:ognl from 3.3.5 to 3.4.6

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



(struts) branch dependabot/maven/ognl-ognl-3.4.7 created (now 39ee97d8b)

2025-03-30 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch dependabot/maven/ognl-ognl-3.4.7
in repository https://gitbox.apache.org/repos/asf/struts.git


  at 39ee97d8b Bump ognl:ognl from 3.3.5 to 3.4.7

No new revisions were added by this update.



struts.git: Error while running github feature from dependabot/maven/ognl-ognl-3.4.7:.asf.yaml

2025-03-30 Thread Apache Infrastructure


An error occurred while processing the github feature in .asf.yaml: 

while parsing a mapping
  in "struts.git/.asf.yaml::github", line 7, column 1:
  # contexts are the names o ... 
^ (line: 7)
unexpected key not in schema 'contexts'
  in "struts.git/.asf.yaml::github", line 8, column 1:
contexts:
^ (line: 8)

---
With regards, ASF Infra.



struts.git: Error while running github feature from main:.asf.yaml

2025-03-30 Thread Apache Infrastructure


An error occurred while processing the github feature in .asf.yaml: 

while parsing a mapping
  in "struts.git/.asf.yaml::github", line 7, column 1:
  # contexts are the names o ... 
^ (line: 7)
unexpected key not in schema 'contexts'
  in "struts.git/.asf.yaml::github", line 8, column 1:
contexts:
^ (line: 8)

---
With regards, ASF Infra.



(struts-examples) branch dependabot/maven/io.quarkus-quarkus-universe-bom-3.21.0 created (now 807a56e)

2025-03-30 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/io.quarkus-quarkus-universe-bom-3.21.0
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


  at 807a56e  Bump io.quarkus:quarkus-universe-bom from 3.19.1 to 3.21.0

No new revisions were added by this update.



(struts-examples) branch dependabot/maven/io.quarkus-quarkus-universe-bom-3.19.4 deleted (was 4f326e0)

2025-03-30 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/maven/io.quarkus-quarkus-universe-bom-3.19.4
in repository https://gitbox.apache.org/repos/asf/struts-examples.git


 was 4f326e0  Bump io.quarkus:quarkus-universe-bom from 3.19.1 to 3.19.4

The revisions that were on this branch are still contained in
other references; therefore, this change does not discard any commits
from the repository.



struts.git: Error while running github feature from dependabot/github_actions/github/codeql-action-3.28.13:.asf.yaml

2025-03-30 Thread Apache Infrastructure


An error occurred while processing the github feature in .asf.yaml: 

while parsing a mapping
  in "struts.git/.asf.yaml::github", line 7, column 1:
  # contexts are the names o ... 
^ (line: 7)
unexpected key not in schema 'contexts'
  in "struts.git/.asf.yaml::github", line 8, column 1:
contexts:
^ (line: 8)

---
With regards, ASF Infra.



(struts) branch dependabot/github_actions/github/codeql-action-3.28.13 created (now 660e392f7)

2025-03-30 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/github_actions/github/codeql-action-3.28.13
in repository https://gitbox.apache.org/repos/asf/struts.git


  at 660e392f7 Bump github/codeql-action from 3.28.10 to 3.28.13

No new revisions were added by this update.



(struts) 02/03: WW-5326 Introduces a dedicate Struts context to be used with OGNL

2025-03-30 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch feature/WW-5326-ognl
in repository https://gitbox.apache.org/repos/asf/struts.git

commit ae8234eb7cbe66145247d64a994ebfebdaf04bba
Author: Lukasz Lenart 
AuthorDate: Sun Mar 30 08:48:53 2025 +0200

WW-5326 Introduces a dedicate Struts context to be used with OGNL
---
 .../java/org/apache/struts2/ognl/StrutsContext.java | 17 +
 1 file changed, 17 insertions(+)

diff --git a/core/src/main/java/org/apache/struts2/ognl/StrutsContext.java 
b/core/src/main/java/org/apache/struts2/ognl/StrutsContext.java
new file mode 100644
index 0..efdd195b2
--- /dev/null
+++ b/core/src/main/java/org/apache/struts2/ognl/StrutsContext.java
@@ -0,0 +1,17 @@
+package org.apache.struts2.ognl;
+
+import ognl.ClassResolver;
+import ognl.MemberAccess;
+import ognl.OgnlContext;
+import ognl.TypeConverter;
+
+public class StrutsContext extends OgnlContext {
+
+private StrutsContext(MemberAccess memberAccess, ClassResolver 
classResolver, TypeConverter typeConverter, OgnlContext initialContext) {
+super(memberAccess, classResolver, typeConverter, initialContext);
+}
+
+public static StrutsContext wrap(OgnlContext context) {
+return new StrutsContext(context.getMemberAccess(), 
context.getClassResolver(), context.getTypeConverter(), context);
+}
+}