struts.git: Error while running github feature from feature/WW-5544-context-factory:.asf.yaml

2025-04-23 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.
For further information, please see the .asf.yaml documentation at:
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md



struts.git: Error while running github feature from --unknown-branch--:.asf.yaml

2025-04-23 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.
For further information, please see the .asf.yaml documentation at:
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md



(struts) 01/01: WW-5544 Marks ReflectionContextFactory as deprecated and uses ActionContext instead

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

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

commit a422ffa9c05639e13657dc2a8f32c76c6792b163
Author: Lukasz Lenart 
AuthorDate: Wed Apr 23 08:59:50 2025 +0200

WW-5544 Marks ReflectionContextFactory as deprecated and uses ActionContext 
instead
---
 .../xwork2/ognl/OgnlReflectionContextFactory.java|  4 
 .../xwork2/util/reflection/ReflectionContextFactory.java |  4 
 .../validator/validators/RangeValidatorSupport.java  |  2 +-
 .../struts2/config_browser/ShowValidatorAction.java  | 16 +---
 4 files changed, 14 insertions(+), 12 deletions(-)

diff --git 
a/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlReflectionContextFactory.java
 
b/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlReflectionContextFactory.java
index ec3db9f9a..85a724ede 100644
--- 
a/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlReflectionContextFactory.java
+++ 
b/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlReflectionContextFactory.java
@@ -23,6 +23,10 @@ import ognl.Ognl;
 
 import java.util.Map;
 
+/**
+ * @deprecated since 6.8.0, to be removed, see {@link ReflectionContextFactory}
+ */
+@Deprecated
 public class OgnlReflectionContextFactory implements ReflectionContextFactory {
 
 public Map createDefaultContext(Object root) {
diff --git 
a/core/src/main/java/com/opensymphony/xwork2/util/reflection/ReflectionContextFactory.java
 
b/core/src/main/java/com/opensymphony/xwork2/util/reflection/ReflectionContextFactory.java
index b8792537b..3e5646615 100644
--- 
a/core/src/main/java/com/opensymphony/xwork2/util/reflection/ReflectionContextFactory.java
+++ 
b/core/src/main/java/com/opensymphony/xwork2/util/reflection/ReflectionContextFactory.java
@@ -20,6 +20,10 @@ package com.opensymphony.xwork2.util.reflection;
 
 import java.util.Map;
 
+/**
+ * @deprecated since 6.8.0, avoid using this interface and any of its 
implementation, it's going to be removed soon
+ */
+@Deprecated
 public interface ReflectionContextFactory {
 /**
  * Creates and returns a new standard naming context for evaluating an OGNL
diff --git 
a/core/src/main/java/com/opensymphony/xwork2/validator/validators/RangeValidatorSupport.java
 
b/core/src/main/java/com/opensymphony/xwork2/validator/validators/RangeValidatorSupport.java
index b713262c5..c263c4ff5 100644
--- 
a/core/src/main/java/com/opensymphony/xwork2/validator/validators/RangeValidatorSupport.java
+++ 
b/core/src/main/java/com/opensymphony/xwork2/validator/validators/RangeValidatorSupport.java
@@ -28,7 +28,7 @@ import java.util.Collection;
 /**
  * Base class for range based validators. Use this class to develop any other 
custom range validators.
  */
-public abstract class RangeValidatorSupport extends 
FieldValidatorSupport {
+public abstract class RangeValidatorSupport> extends 
FieldValidatorSupport {
 
 private static final Logger LOG = 
LogManager.getLogger(RangeValidatorSupport.class);
 
diff --git 
a/plugins/config-browser/src/main/java/org/apache/struts2/config_browser/ShowValidatorAction.java
 
b/plugins/config-browser/src/main/java/org/apache/struts2/config_browser/ShowValidatorAction.java
index 524cee021..d8358b522 100644
--- 
a/plugins/config-browser/src/main/java/org/apache/struts2/config_browser/ShowValidatorAction.java
+++ 
b/plugins/config-browser/src/main/java/org/apache/struts2/config_browser/ShowValidatorAction.java
@@ -19,12 +19,12 @@
 package org.apache.struts2.config_browser;
 
 import com.opensymphony.xwork2.inject.Inject;
-import com.opensymphony.xwork2.util.reflection.ReflectionContextFactory;
 import com.opensymphony.xwork2.util.reflection.ReflectionException;
 import com.opensymphony.xwork2.util.reflection.ReflectionProvider;
 import com.opensymphony.xwork2.validator.Validator;
 import org.apache.logging.log4j.LogManager;
 import org.apache.logging.log4j.Logger;
+import org.apache.struts2.ActionContext;
 import org.apache.struts2.interceptor.parameter.StrutsParameter;
 
 import java.beans.BeanInfo;
@@ -49,19 +49,13 @@ public class ShowValidatorAction extends 
ListValidatorsAction {
 private Set properties = Collections.emptySet();
 private int selected = 0;
 
-ReflectionProvider reflectionProvider;
-ReflectionContextFactory reflectionContextFactory;
+private ReflectionProvider reflectionProvider;
 
 @Inject
 public void setReflectionProvider(ReflectionProvider prov) {
 this.reflectionProvider = prov;
 }
 
-@Inject
-public void setReflectionContextFactory(ReflectionContextFactory fac) {
-this.reflectionContextFactory = fac;
-}
-
 public int getSelected() {
 return selected;
 }
@@ -85,7 +79,6 @@ public class ShowValidatorAction extends ListValidatorsAction 
{
 Validator validator = getSelectedValidator();
 properties = new TreeSet<>();
 try {
-  

(struts) branch feature/WW-5544-context-factory created (now a422ffa9c)

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

lukaszlenart pushed a change to branch feature/WW-5544-context-factory
in repository https://gitbox.apache.org/repos/asf/struts.git


  at a422ffa9c WW-5544 Marks ReflectionContextFactory as deprecated and 
uses ActionContext instead

This branch includes the following new commits:

 new a422ffa9c WW-5544 Marks ReflectionContextFactory as deprecated and 
uses ActionContext instead

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




(struts) branch feature/WW-5544-context-factory updated (a422ffa9c -> 893572378)

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

lukaszlenart pushed a change to branch feature/WW-5544-context-factory
in repository https://gitbox.apache.org/repos/asf/struts.git


 discard a422ffa9c WW-5544 Marks ReflectionContextFactory as deprecated and 
uses ActionContext instead
 add 893572378 WW-5544 Marks ReflectionContextFactory as deprecated and 
uses ActionContext instead

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a422ffa9c)
\
 N -- N -- N   refs/heads/feature/WW-5544-context-factory 
(893572378)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../java/org/apache/struts2/config_browser/ShowValidatorAction.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



struts.git: Error while running github feature from feature/WW-5544-context-factory:.asf.yaml

2025-04-23 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.
For further information, please see the .asf.yaml documentation at:
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md



(struts) branch feature/WW-5544-context-factory updated (893572378 -> a9403a2ac)

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

lukaszlenart pushed a change to branch feature/WW-5544-context-factory
in repository https://gitbox.apache.org/repos/asf/struts.git


omit 893572378 WW-5544 Marks ReflectionContextFactory as deprecated and 
uses ActionContext instead
 add a9403a2ac WW-5544 Marks ReflectionContextFactory as deprecated and 
uses ActionContext instead

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (893572378)
\
 N -- N -- N   refs/heads/feature/WW-5544-context-factory 
(a9403a2ac)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .../opensymphony/xwork2/validator/validators/RangeValidatorSupport.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



struts.git: Error while running github feature from feature/WW-5544-context-factory:.asf.yaml

2025-04-23 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.
For further information, please see the .asf.yaml documentation at:
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md



(struts-site) branch feature/commercial-support-unordered updated (ceb703370 -> 3cfa96507)

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

lukaszlenart pushed a change to branch feature/commercial-support-unordered
in repository https://gitbox.apache.org/repos/asf/struts-site.git


omit ceb703370 Uses unordered list to avoid preference suggestion
 add 1206ed66c Replaces reference to the master branch with main (#269)
 add 3cfa96507 Uses unordered list to avoid preference suggestion

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (ceb703370)
\
 N -- N -- N   refs/heads/feature/commercial-support-unordered 
(3cfa96507)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 source/404.md |  2 +-
 source/_layouts/core-developers.html  |  2 +-
 source/_layouts/default.html  |  2 +-
 source/_layouts/maven-archetypes.html |  2 +-
 source/announce-2024.md   |  2 +-
 source/core-developers/default-properties.md  |  2 +-
 source/core-developers/email-validator.md |  2 +-
 source/core-developers/interceptors.md|  2 +-
 source/core-developers/localization.md|  2 +-
 source/core-developers/struts-default-xml.md  |  2 +-
 source/core-developers/validation.md  |  2 +-
 source/getting-started/exclude-parameters.md  |  2 +-
 source/getting-started/form-validation.md |  2 +-
 source/getting-started/message-resource-files.md  |  2 +-
 source/plugins/async/index.md |  2 +-
 source/plugins/tiles/index.md |  2 +-
 source/security/index.md  |  2 +-
 source/tag-developers/a-tag.md|  4 ++--
 source/tag-developers/action-tag.md   |  6 +++---
 source/tag-developers/actionerror-tag.md  |  4 ++--
 source/tag-developers/actionmessage-tag.md|  4 ++--
 source/tag-developers/append-tag.md   |  4 ++--
 source/tag-developers/bean-tag.md |  4 ++--
 source/tag-developers/checkbox-tag.md |  4 ++--
 source/tag-developers/checkboxlist-tag.md |  4 ++--
 source/tag-developers/combobox-tag.md |  4 ++--
 source/tag-developers/component-tag.md|  4 ++--
 source/tag-developers/css-xhtml-theme.md  | 10 +-
 source/tag-developers/date-tag.md |  4 ++--
 source/tag-developers/datetextfield-tag.md|  4 ++--
 source/tag-developers/doubleselect-tag.md |  4 ++--
 source/tag-developers/else-tag.md |  4 ++--
 source/tag-developers/elseif-tag.md   |  4 ++--
 source/tag-developers/fielderror-tag.md   |  4 ++--
 source/tag-developers/file-tag.md |  4 ++--
 source/tag-developers/form-tag.md |  4 ++--
 source/tag-developers/generator-tag.md|  4 ++--
 source/tag-developers/head-tag.md |  4 ++--
 source/tag-developers/hidden-tag.md   |  4 ++--
 source/tag-developers/i18n-tag.md |  4 ++--
 source/tag-developers/if-tag.md   |  4 ++--
 source/tag-developers/include-tag.md  |  4 ++--
 source/tag-developers/inputtransferselect-tag.md  |  4 ++--
 source/tag-developers/iterator-tag.md |  4 ++--
 source/tag-developers/label-tag.md|  4 ++--
 source/tag-developers/link-tag.md |  4 ++--
 source/tag-developers/merge-tag.md|  4 ++--
 source/tag-developers/ognl.md |  2 +-
 source/tag-developers/optgroup-tag.md |  4 ++--
 source/tag-developers/optiontransferselect-tag.md |  4 ++--
 source/tag-developers/param-tag.md|  4 ++--
 source/tag-developers/password-tag.md |  4 ++--
 source/tag-developers/property-tag.md |  4 ++--
 source/tag-developers/push-tag.md |  4 ++--
 source/tag-developers/radio-tag.md|  4 ++--
 source/tag-developers/reset-tag.md|  4 ++--
 source/tag-developers/script-tag.md   |  4 ++--
 source/tag-developers/select-tag.md   |  4 ++--
 source/tag-developers/set-tag.md  |  4 ++--
 source/tag-developers/simple-theme.md |  2 +-
 source/tag-developers/sort-tag.md |  4 ++--
 source/tag-developers/submit-tag.md   |  4 ++--
 source/tag-developers/s

(struts-site) branch asf-staging updated: Updates stage by Jenkins

2025-04-23 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-staging
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-staging by this push:
 new 8acbc0501 Updates stage by Jenkins
8acbc0501 is described below

commit 8acbc05018a5d7856dcaed6ef020d9bc27a3208c
Author: jenkins 
AuthorDate: Wed Apr 23 07:17:41 2025 +

Updates stage by Jenkins
---
 content/commercial-support.html | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/content/commercial-support.html b/content/commercial-support.html
index ad50f5a73..191d5620a 100644
--- a/content/commercial-support.html
+++ b/content/commercial-support.html
@@ -171,12 +171,12 @@ supportive companies, please share details with us.
 
 Last updated: 2024-12-23
 
-
-  https://softwaremill.com/contact/";>SoftwareMill
+
+  https://softwaremill.com/contact/"; rel="nofollow" 
target="_blank">SoftwareMill
 
   contact details:
 
-  https://softwaremill.com/services/apache-struts-consultancy/";>Apache 
Struts Consultancy
+  https://softwaremill.com/services/apache-struts-consultancy/"; 
rel="nofollow" target="_blank">Apache Struts Consultancy
   mailto:he...@softwaremill.com";>he...@softwaremill.com
   phone:
 
@@ -189,7 +189,7 @@ supportive companies, please share details with us.
   scope of support: consulting, Java & UI development, audit
 
   
-  https://www.herodevs.com/support/struts-nes";>HeroDevs
+  https://www.herodevs.com/support/struts-nes"; rel="nofollow" 
target="_blank">HeroDevs
 
   contact details:
 
@@ -200,12 +200,12 @@ supportive companies, please share details with us.
   scope of support: Extended Long-Term Security Support for Apache 
Struts, CVE Remediation
 
   
-
+
 
 How to add a new company
 
-Create a Pull Request with the required information. A committer will 
review it, ensuring accuracy, or seek clarification.
-Alternatively, you can submit a request to the https://struts.staged.apache.org/mail.html";>User Mailing list.
+You can create a Pull Request with the required information. A committer 
will review it, ensuring accuracy, or seek clarification.
+Alternatively, you can submit a request to the User Mailing 
list.