Fwd: [struts-community-plugins/struts2-jquery] Update dependency org.hibernate:hibernate-core to v7 (release/5.0.x) (PR #708)

2025-05-28 Thread Greg Huber
Would some pom rules stop these breaking upgrades? ^5.*$ Forwarded Message Subject: Re: [struts-community-plugins/struts2-jquery] Update dependency org.hibernate:hibernate-core to v7 (release/5.0.x) (PR #708) Date: Wed, 28 May 2025 22:44:02 -0700 From: renovate[b

Re: STRUTS_EXAMPLES_1_1_0

2025-03-03 Thread Greg Huber
Lenart wrote: pt., 28 lut 2025 o 12:28 Greg Huber napisał(a): |https://github.com/apache/struts-examples/tree/STRUTS_EXAMPLES_1_1_0 Thanks, missed it, and its not oblivious using the branch name. Maybe a note somewhere on the landing page? I created a Github Release out of the tag and added a note

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
issue On 28 Feb 2025, at 16:09, Greg Huber wrote: Confirming, the leak is present on v6 struts an on jdk 8,11 and 17. At last we can reproduce the problem easily. The following web applications were stopped (reloaded, undeployed), but their classes from previous runs are still loaded in

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
blic class org.apache.struts.helloworld.action.HelloWorldAction extends com.opensymphony.xwork2.ActionSupport minor version: 0 major version: 61 Are you saying that it doesn’t leak if you compile it with target jdk 17 ? Thanks On 28 Feb 2025, at 15:46, Greg Huber wrote: |It seems to me t

Re: STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
Server VM Temurin-17.0.14+7 (build 17.0.14+7, mixed mode, sharing) On 28 Feb 2025, at 15:28, Greg Huber wrote: Well it only likes jkd17? Should this be jdk8 as its v6? java.lang.UnsupportedClassVersionError: org/apache/struts/helloworld/action/HelloWorldAction has been compiled by a m

STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
profiler to confirm): /hello-world Can anyone confirm that he gets the same results when using the same versions ? Thanks On 28 Feb 2025, at 12:04, Lukasz Lenart wrote: pt., 28 lut 2025 o 11:55 Greg Huber napisał(a): Maybe comparing your test case with the showcase setup may give a hint on a

STRUTS_EXAMPLES_1_1_0

2025-02-28 Thread Greg Huber
| https://github.com/apache/struts-examples/tree/STRUTS_EXAMPLES_1_1_0 Thanks, missed it, and its not oblivious using the branch name. Maybe a note somewhere on the landing page? On 28/02/2025 11:04, Lukasz Lenart wrote: pt., 28 lut 2025 o 11:55 Greg Huber napisał(a): Maybe comparing your

Re: [VOTE] Struts 6.7.4

2025-02-27 Thread Greg Huber
Works well for me. Thanks. [x] General Availability (GA) On 27/02/2025 06:13, Lukasz Lenart wrote: The Apache Struts 6.7.4 test build is available. With this release the following issues were addressed: Bug [WW-5493] - Removing parameters broke custom components [WW-5497] - Access to non-stati

fw posted on tomcat list The future of Tomcat 9

2025-02-25 Thread Greg Huber
Saw this on the tomcat mailing list, for these who don't subscribe. All, Tomcat 9 is the last major Tomcat version supporting Java EE. Therefore, the Tomcat community intends to provide support for Tomcat 9 beyond the 10 years for which major Tomcat versions are typically

Re: [VOTE] Apache Struts 7.0.3

2025-02-24 Thread Greg Huber
Thanks, works well for me. [x] General Availability (GA) On 24/02/2025 12:14, Lukasz Lenart wrote: The Apache Struts 7.0.3 test build is available. This is the first patch release of Struts 7.x series. With this release the following issues were addressed: Bug [WW-5495] - Tomcat 11 and ".actio

Re: WAR undeploy seems to leave some struts related classes in memory

2025-02-22 Thread Greg Huber
The image has been removed.  Text only here. On 22/02/2025 10:38, Ing. Andrea Vettori wrote: Hello, I’m facing an issue that can't fully understand myself. I’m using struts since year 2000 (version 6.7 at the moment) in web apps with a mix of JSP and Freemarker templates. I use Tomcat as servl

email issue

2025-02-22 Thread Greg Huber
; <5fca7007-5396-43c5-808f-d6091c63d...@flyingfischer.ch> Content-Language: en-US From: Greg Huber In-Reply-To:<5fca7007-5396-43c5-808f-d6091c63d...@flyingfischer.ch> This is a multi-part message in MIME format. --4fVGnLYvrIw68F71ZqrVh6zl Content-Type: text/plain; charset=UTF

Re: mail issue

2025-02-22 Thread Greg Huber
OK, think its already in spam. I am replying to dev@struts.apache.org so where is the email address coming from? On 22/02/2025 10:11, Lukasz Lenart wrote: sob., 22 lut 2025 o 10:50 Greg Huber napisał(a): Can this be fixed, get alot of these returns mx.google.com rejected your message

upgrading to v7

2025-02-22 Thread Greg Huber
egards Markus Am 22.02.25 um 10:44 schrieb Greg Huber: What is the plan on v6?  Continue development or maintenance only? More might jump to 7 if the latter. On 21/02/2025 14:33, Lukasz Lenart wrote: Thanks a lot for testing & confirming! Any plans to migrate to Struts 7? pt., 21 lut 2025 o

mail issue

2025-02-22 Thread Greg Huber
Can this be fixed, get alot of these returns mx.google.com rejected your message to the following email addresses: myid.amitsha...@gmail.com Your message wasn't delivered because the recipient's email provider rejected it. mx.google.com gave this error: Your email has been blocked because th

Re: [TEST] Apache Struts 6.7.4 test build is ready

2025-02-22 Thread Greg Huber
What is the plan on v6?  Continue development or maintenance only? More might jump to 7 if the latter. On 21/02/2025 14:33, Lukasz Lenart wrote: Thanks a lot for testing & confirming! Any plans to migrate to Struts 7? pt., 21 lut 2025 o 12:06 戸田 栞太(HARP) napisał(a): I've confirmed that it wor

Re: Understand usage of tag inside

2025-02-19 Thread Greg Huber
Probably ask the user list for this. But, #user.name as it won't be searching the stack for the property. On 19/02/2025 09:00, Murali Challa wrote: Hi, Can someone suggest among below which is best/preferred way of using tag with in . //getting value using var.name // getting valu

Re: file upload name filtering

2025-02-13 Thread Greg Huber
ving a few malicious characters in a file name? Thanks, Burton -- Original Message -- From "Greg Huber" to...@struts.apache.org Date 2/11/2025 2:51:36 AM Subject Re: file upload name filtering Filename length is a possible good way to go, with an override of the length and th

Re: file upload name filtering

2025-02-11 Thread Greg Huber
Filename length is a possible good way to go, with an override of the length and then truncate or block option. On 11/02/2025 06:21, Lukasz Lenart wrote: Hm... looks like I must re-think this approach, thanks all for reporting this issue!

Upload Form field name [struts.token.name] is not accepted

2025-02-10 Thread Greg Huber
Testing, I also get this warning for an upload action, but not for normal actions. 2025-02-10 08:37:39,025 WARN org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest JakartaMultiPartRequest:processNormalFormField - Form field name [struts.token.name] is not accepted On 10/02/2025

Re: file upload name filtering

2025-02-09 Thread Greg Huber
5 09:27, Lukasz Lenart wrote: niedz., 9 lut 2025 o 10:20 Greg Huber napisał(a): Still using v6 at the moment, but I think v7 (dev box) is the same? The same in functionality, but harder to refactor some things. I made a few changes in the logic used in v7 and it's hard to port them bac

Re: file upload name filtering

2025-02-09 Thread Greg Huber
Still using v6 at the moment, but I think v7 (dev box) is the same? On 09/02/2025 09:14, Lukasz Lenart wrote: niedz., 9 lut 2025 o 10:10 Greg Huber napisał(a): I have now had a few uploads blocked mainly due to sentence punctuation in the image name ie apostrophe and ampersand symbols. It

Re: file upload name filtering

2025-02-09 Thread Greg Huber
nput". Maybe it would be good to create one the same mechanism which can be shared by any interceptor/action :thinking: pt., 7 lut 2025 o 13:02 Greg Huber napisał(a): What is this actually escaping? Stuff that can mess with the system? Not had any uploads bounce so far. On 05/02/2025 04

file upload name filtering

2025-02-07 Thread Greg Huber
What is this actually escaping?  Stuff that can mess with the system? Not had any uploads bounce so far. On 05/02/2025 04:20, Kusal Kithul-Godage wrote: I've just tested this with the Confluence Data Center application. The file name filtering is actually causing a user experience regression f

Re: Replace @Inject

2025-02-06 Thread Greg Huber
A safer bet maybe one of the JSR 330  complaint offerings, albeit more complex like the Guice. On 05/02/2025 11:13, Lukasz Lenart wrote: śr., 5 lut 2025 o 10:13 Greg Huber napisał(a): Struts has its own DI using @Inject annotation This could be a bonus as it not "another" depende

Re: Replace @Inject

2025-02-05 Thread Greg Huber
Struts has its own DI using @Inject annotation This could be a bonus as it not "another" dependency on the framework. Over time, the fewer dependencies the better. On 05/02/2025 08:59, Lukasz Lenart wrote: Hi, Struts has its own DI using @Inject annotation (it isn't related to Java one) and

Re: Struts 7.0.1 JakartaMultiPartRequest

2025-02-02 Thread Greg Huber
ok.  If you can post the fix I can test it. btw, I tried the previous commit on JakartaMultiPartRequest and that also did not allow the method, thought I tested this on 7.0.0.🙁 On 02/02/2025 11:04, Łukasz Lenart wrote: niedz., 2 lut 2025 o 11:15 Greg Huber napisał(a): I get this warning

Struts 7.0.1 JakartaMultiPartRequest

2025-02-02 Thread Greg Huber
I get this warning: 2025-02-02 10:06:49,238 WARN org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest JakartaMultiPartRequest:processNormalFormField - Form field [action:myFiles!upload] is rejected! 2025-02-02 10:07:31,275 WARN org.apache.struts2.dispatcher.multipart.JakartaMulti

Re: Missing artifact 7.0.0

2024-12-17 Thread Greg Huber
15/12/2024 12:19, Lukasz Lenart wrote: pt., 13 gru 2024 o 11:11 Greg Huber napisał(a): I am using the standard struts git repo. Why is maven only looking for these two in https://repo.maven.apache.org/maven2 and ignoring staging. That's correct. You must explicitly specify if you want to use t

Re: [VOTE] Apache Struts 7.0.0

2024-12-17 Thread Greg Huber
Works great for me. [x] General Availability (GA) On 16/12/2024 16:40, Lukasz Lenart wrote: The Apache Struts 7.0.0 test build is available. This is the first and major release of Struts 7.x series which uses Java 17 and JakartaEE. With this release the following issues were addressed: --

Re: Missing artifact 7.0.0

2024-12-13 Thread Greg Huber
., 12 gru 2024 o 10:57 Greg Huber napisał(a): If I add the staging to the struts pom it builds correctly. There must be something in the way these new jakarta dependancies are configured. apache.staging ASF Maven 2 Staging https://repository.apache.org/content/groups

Re: Struts v7.0.0-M10 missing from Maven Central

2024-12-12 Thread Greg Huber
Version 7 is out for release 7.0.0 Although I can only find them in staging https://repository.apache.org/content/groups/staging/ On 12/12/2024 12:30, Burton Rhodes wrote: It appears that 7.0.0-M10 is no longer available in Maven Central. Should I be pointing to a different version? The lates

Re: Missing artifact 7.0.0

2024-12-12 Thread Greg Huber
    always     warn         Other than this it works great. On 11/12/2024 11:51, Lukasz Lenart wrote: śr., 11 gru 2024 o 12:48 Greg Huber napisał(a): For me its tiles org.apache.struts struts2-tiles-plugin ${org.apache.struts.version} So I have to now include these

Re: Missing artifact 7.0.0

2024-12-11 Thread Greg Huber
dependency: org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0 (compile?) org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0 was not found in https://repo.maven.apache.org/maven2 On 11/12/2024 11:51, Lukasz Lenart wrote: śr., 11 gru 2024 o 12:48 Greg Huber napisał(a

Re: Missing artifact 7.0.0

2024-12-11 Thread Greg Huber
2024 o 12:48 Greg Huber napisał(a): For me its tiles org.apache.struts struts2-tiles-plugin ${org.apache.struts.version} So I have to now include these jarkarta jars also? But do you want to use Velocity with Tiles? If yes you should include the Velocity plugin and the jars

Re: Missing artifact 7.0.0

2024-12-11 Thread Greg Huber
For me its tiles     org.apache.struts     struts2-tiles-plugin     ${org.apache.struts.version} So I have to now include these jarkarta jars also? btw it creates the folder in .m2 but there are no jars. On 11/12/2024 11:38, Lukasz Lenart wrote: śr., 11 gru 2024 o 12:01 Greg Huber napisał

Re: Missing artifact 7.0.0

2024-12-11 Thread Greg Huber
Still having this issue with : Missing artifact org.apache.struts:struts2-velocity-tools-jsp-jakarta:jar:7.0.0 Missing artifact org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0 They are here https://repository.apache.org/content/groups/staging/org/apache/struts/struts2-veloc

Re: Issues Upgrading Struts to 6.7.0 from 6.4.0 | Unable to Find AnnotationUtils Replacement

2024-12-02 Thread Greg Huber
Not all packages have/will be migrated.  Will need to wait for v7.  It should work as is. On 03/12/2024 06:55, Lokesh Rajawat wrote: Hello Team, I attempted to upgrade to Struts 6.7.0, the latest General Availability version, and noticed significant changes due to the deprecation of org.opensy

Re: [VOTE] Rename master into main

2024-12-01 Thread Greg Huber
[x] agree, rename the master branch On 01/12/2024 16:44, Lukasz Lenart wrote: Hi, Looks like I need to get agreement [1] on renaming the master branch into main, so please vote: [ ] agree, rename the master branch [ ] disagree [1] https://github.com/apache/infrastructure-asfyaml?tab=readme-ov

Re: 6.7.0 com.opensymphony.xwork2.ActionInvocation /ActionProxy package change

2024-11-29 Thread Greg Huber
very class (ensuring cross-compatibility during this process is not always simple). So you may end up with some code or classes that unfortunately can't be migrated until 7.0. On Thu, Nov 28, 2024 at 8:27 PM Greg Huber wrote: When updating one of my interceptors to org.apache.struts2. package

6.7.0 com.opensymphony.xwork2.ActionInvocation /ActionProxy package change

2024-11-28 Thread Greg Huber
When updating one of my interceptors to org.apache.struts2. package, the class won't compile now: The method doBeforeInvocation(com.opensymphony.xwork2.ActionInvocation) in the type ValidationInterceptor is not applicable for the arguments (org.apache.struts2.ActionInvocation) The method doI

Re: [VOTE] Apache Struts 6.7.0

2024-11-25 Thread Greg Huber
Works great for me. Thanks. [x] General Availability (GA) On 26/11/2024 06:06, Lukasz Lenart wrote: The Apache Struts 6.7.0 test build is available. With this release the following issues were addressed: Internal changes A lot of classes have been marked as deprecated because of relocation of

6.7.0 release notes

2024-11-18 Thread Greg Huber
Are the release notes correct? It says Task * [WW-3714 ] - Rename org.opensymphony.xwork2 to org.apache.struts2.xwork2 I still has org.opensymphony.xwork2 packages? Is this a todo? On 17/11/2024 16:06, Lukasz Lenart wrote: Hello, This

Re: UploadedFilesAware SecurityMemberAccess:isAccessible message

2024-11-12 Thread Greg Huber
ng change). The log warning is inconsequential though and can be easily suppressed by renaming the name attribute on your s:file tag. On Mon, Nov 11, 2024 at 7:16 PM Greg Huber wrote: Definitely do not have in my struts.xml but this in my jsp: If "name" on s:file matches a private field

Re: UploadedFilesAware SecurityMemberAccess:isAccessible message

2024-11-11 Thread Greg Huber
27;uploadedFiles'. If this is the case, the old file upload interceptor will attempt injection using OGNL. The easiest way to suppress the warning is your current workaround of changing the field name, or change the name on your tag(s). On Sun, Nov 10, 2024 at 8:41 PM Greg Huber wrote: I jus

UploadedFilesAware SecurityMemberAccess:isAccessible message

2024-11-10 Thread Greg Huber
I just upgraded to the UploadedFilesAware version and now I see this message in my logs WARN com.opensymphony.xwork2.ognl.SecurityMemberAccess SecurityMemberAccess:isAccessible - Access to non-public [private java.util.List my.MyUpload.uploadedFiles] is blocked! Every thing is working ok. I

Re: [TEST] Apache Struts 7.0.0-M10 test build is ready

2024-11-08 Thread Greg Huber
I noticed also that needs to be removed now.  Can this be 6.7 also as its not related to jarkata?  Makes sure the new upload works before the migration. Cheers Greg On 05/11/2024 06:44, Lukasz Lenart wrote: Thanks Greg & Burton for testing the changes, nice to hear migration went smoothly :)

Re: error response on missing allowed-methods in struts.xml

2024-11-05 Thread Greg Huber
ust checked locally and it looks good with the latest Struts 7 SNAPSHOT, I would assume you must have some Freemarker leftovers, do you use Maven to control dependencies? czw., 31 paź 2024 o 14:43 Greg Huber napisał(a): Testing with v7 m9. Try with a method present but with and a missing **

Re: [TEST] Apache Struts 7.0.0-M10 test build is ready

2024-11-03 Thread Greg Huber
Works great for me. Quite alot of changes in this one.  Don't forget to update all your .ftl template mods. On 03/11/2024 14:48, Lukasz Lenart wrote: Hello, This is another milestone of Struts 7.x series, which is based on JakartaEE 6. Please take the time and test the bits - any help is app

M9 works great!

2024-10-31 Thread Greg Huber
After some mucking around at my end M9 works great,  thanks everyone! Greg

Re: error response on missing allowed-methods in struts.xml

2024-10-31 Thread Greg Huber
t does the trick if you think it's a jar issue with maven. -- Original Message ------ From "Greg Huber" To dev@struts.apache.org Date 10/31/2024 9:45:58 AM Subject Re: error response on missing allowed-methods in struts.xml Maven does the jars. Just refreshed everything, still

Re: error response on missing allowed-methods in struts.xml

2024-10-31 Thread Greg Huber
good with the latest Struts 7 SNAPSHOT, I would assume you must have some Freemarker leftovers, do you use Maven to control dependencies? czw., 31 paź 2024 o 14:43 Greg Huber napisał(a): Testing with v7 m9. Try with a method present but with and a missing ** I see this 404: Unable to

Re: error response on missing allowed-methods in struts.xml

2024-10-31 Thread Greg Huber
s. pt., 25 paź 2024 o 12:56 Greg Huber napisał(a): I noticed, if I have a missing allowed-methods in my struts.xml for DMI, I get this 404 error Status Code 404 Message: Unable to show problem report: java.lang.NullPointerException Class: org.apache.struts2.dispatcher.DefaultDispatc

Re: testing m9 freemarker jakarta no class found

2024-10-31 Thread Greg Huber
Maybe the changes between m7/m9 breaks the pom, as I have to manually copy the jar now. On 31/10/2024 09:41, Kusal Kithul-Godage wrote: FreeMarker version 2.3.33 is required On Thu, Oct 31, 2024 at 7:56 PM Greg Huber wrote: I now get this error java.lang.NoClassDefFoundError: freemarker

testing m9 freemarker jakarta no class found

2024-10-31 Thread Greg Huber
I now get this error java.lang.NoClassDefFoundError: freemarker/ext/jakarta/servlet/WebappTemplateLoader in core pom.xml differences from m7 last time m9     org.freemarker     freemarker m7     org.apache.struts struts2-freemarker-jakarta

error response on missing allowed-methods in struts.xml

2024-10-25 Thread Greg Huber
I noticed, if I have a missing allowed-methods in my struts.xml for DMI, I get this 404 error Status Code 404 Message: Unable to show problem report: java.lang.NullPointerException Class: org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler File: DefaultDispatcherErrorHandler.java Meth

Re: Package rename transition

2024-10-21 Thread Greg Huber
A good idea to do a 6x possible along with Renaming "parameters" to "attributes" in tags. Going to 7 is a big step and the less we have to do here the better. On 21/10/2024 10:52, Kusal Kithul-Godage wrote: I'm not sure if there is another Struts 6.x release planned but I think there's some va

Re: [struts-community-plugins/struts2-jquery] Update dependency org.springframework:spring-context to v6 [SECURITY] (PR #554)

2024-10-19 Thread Greg Huber
This upgrade won't work.  Needs to stay on 5x. On 19/10/2024 00:30, renovate[bot] wrote: This PR contains the following updates: Package Change Age AdoptionPassing Confidence org.springframework:spring-context

Re: [VOTE] Apache Struts 6.6.1

2024-10-13 Thread Greg Huber
Works great for me, thanks. [x] General Availability (GA) B On 13/10/2024 09:22, Lukasz Lenart wrote: Once you have had a chance to review the test build, please respond with a vote on its quality: [ ] Leave at test build [ ] Alpha [ ] Beta [ ] General Availability (GA)

Re: Renaming "parameters" to "attributes" in tags

2024-10-07 Thread Greg Huber
Works ok.  I tried it from branch feature/WW-5465-attributes. On 06/10/2024 17:57, Lukasz Lenart wrote: Here is the PR addressing this proposal https://github.com/apache/struts/pull/1067 niedz., 6 paź 2024 o 07:40 Lukasz Lenart napisał(a): Hi, During investigation of issue WW-5452 [1] I disc

Re: [VOTE] Apache Struts 6.6.0

2024-08-05 Thread Greg Huber
Works great for me. Thanks. [x] General Availability (GA) B On 06/08/2024 05:47, Lukasz Lenart wrote: Once you have had a chance to review the test build, please respond with a vote on its quality: [ ] Leave at test build [ ] Alpha [ ] Beta [ ] General Availability (GA)

Re: [TEST] Apache Struts 6.6.0 test build is ready

2024-07-20 Thread Greg Huber
Sorry, please ignore previous emails, I went back in my logs and found the same errors.  Fixed it by updating my crusty code.😳 <%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %> <% pageContext.setAttribute("version",my.model.MyFactory.getMe().getVersion()); pageContext.setAttribute("revisio

Re: [TEST] Apache Struts 6.6.0 test build is ready

2024-07-20 Thread Greg Huber
May have been some formatting on previous mail, here it is again 2024-07-20 09:39:59,406 WARN org.apache.struts2.interceptor.TokenSessionStoreInterceptor TokenSessionStoreInterceptor:handleInvalidToken - testHandleInvalidToken 2024-07-20 09:39:59,535 WARN com.opensymphony.xwork2.ognl.OgnlValueS

Re: [TEST] Apache Struts 6.6.0 test build is ready

2024-07-20 Thread Greg Huber
I am looking into duplicate session postings (circular nulls in TokenSessionStoreInterceptor by refresh post) in my app, and noticed this now in the tomcat log 2024-07-20 09:39:59,406 WARN org.apache.struts2.interceptor.TokenSessionStoreInterceptor TokenSessionStoreInterceptor:handleInvalidT

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-23 Thread Greg Huber
() {    return filter; } Just an idea. On 18/06/2024 08:57, Kusal Kithul-Godage wrote: Yeah good call I'll look into it On Tue, Jun 18, 2024 at 5:54 PM Greg Huber wrote: OK thanks. Can the logging be the same others - Developer Notification rather than changing the debug level? ie for a bad d

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-18 Thread Greg Huber
es as they have been able to do in Struts 6 and earlier. Also feel free to have a read of this section if you haven't had a chance too: https://struts.apache.org/security/#defining-and-annotating-your-action-parameters On Tue, Jun 18, 2024 at 5:22 PM Greg Huber wrote

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-18 Thread Greg Huber
For the |struts.parameters.requireAnnotations=||true| If I test my action, there are no log messages for these.  ie missing @StrutsParameter. It also says Action class, what if I have a bean in the action class, do I need to do these also? If I add them to every field/bean is this the same

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-16 Thread Greg Huber
yours won't be the only Struts application with this issue. I'll update the documentation to better acknowledge this case as well as the options I outlined above. Lukasz if you could give me edit permission for the Struts 7.x migration guide, I'll add a quick note there too. On

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-16 Thread Greg Huber
;d first review why your application is relying on this behaviour. On Sun, Jun 16, 2024 at 7:39 PM Greg Huber wrote: I use both spring and hibernate v6 testing, I would not want to make any drastic changes to these as they are painful. Here is one (of many) 2024-06-16 09:26:21,419 WARN com.open

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-16 Thread Greg Huber
er to investigate why this is the case On Sun, Jun 16, 2024 at 7:19 PM Greg Huber wrote: The text looks ok, but I get this in the log also: 2024-06-16 10:15:12,587 WARN com.opensymphony.xwork2.ognl.SecurityMemberAccess SecurityMemberAccess:isAccessible - Access to proxy is blocked! Target [][ Wher

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-16 Thread Greg Huber
st if there are many repetitive ones On Sun, Jun 16, 2024 at 7:10 PM Greg Huber wrote: Sorry checked the wrong log file, it was this one, needed to be false. Is there any docs on this? ie and example of what would go in the list, as its excluding struts default stuff. On 16/06/2024 10:01, Kusa

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-16 Thread Greg Huber
s/pull/919/files Once you have isolated and corrected any issues, please re-enable the options as they offer significant protection against vulnerabilities. On Sun, Jun 16, 2024 at 6:39 PM Greg Huber wrote: I tried this and there is alot of text missing on my jsp pages it ment

Re: [TEST] Apache Struts 7.0.0-M7 test build is ready

2024-06-16 Thread Greg Huber
I tried this and there is alot of text missing on my jsp pages it mentions these: |struts.ognl.allowStaticFieldAccess=||false| |struts.ognl.expressionMaxLength=||150| |struts.disallowDefaultPackageAccess=||true| |struts.disallowProxyMemberAccess=||true| |struts.parameters.requireAnnotations=||tr

Re: Struts2 7.x official release

2024-05-17 Thread Greg Huber
I am not sure there is a date,  but M6 is quite good and stable. On 17/05/2024 10:55, Sai Charan Teja Pratti wrote: Hi, Inorder to upgrade to tomcat 10.x, we have dependency with struts2 7.x Can you please let us know when can we expect the struts2 7.x official release Thanks, Sai On Tue, M

Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-22 Thread Greg Huber
) uploadedFile.getContent()) ... } On 22/04/2024 05:45, Lukasz Lenart wrote: niedz., 21 kwi 2024 o 20:11 Greg Huber napisał(a): I run my ide directly from git, and it is the struts project that won't build. I was following the previous modification changing the struts pom 3x -jakarta entries whic

Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-21 Thread Greg Huber
edz., 21 kwi 2024 o 11:12 Greg Huber napisał(a): > > > > Using 7.0.0-M6 I still get > > > > The POM for org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M6 is > > missing, no dependency information available > > Do you specify "struts2-freemarker-ja

Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-21 Thread Greg Huber
Using 7.0.0-M6 I still get The POM for org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M6 is missing, no dependency information available #Sun Apr 21 10:00:20 BST 2024 apache.snapshots|https\://repository.apache.org/snapshots|javadoc=1713690020922 central|https\://repo.maven.apache.o

Re: [TEST] Apache Struts 7.0.0-M6 test build is read

2024-04-20 Thread Greg Huber
What would be the pom fix value we need to use? 7.0.0-M6-SNAPSHOT org.apache.struts struts2-velocity-tools-view-jakarta 7.0.0-M6-SNAPSHOT On 20/04/2024 08:45, Lukasz Lenart wrote: Hello, This is a third milestone of Struts 7.x series, which is based on JakartaEE 6. Please take the time

Re: [VOTE] Apache Struts 6.4.0

2024-04-19 Thread Greg Huber
Works great for me. Thanks. [x] General Availability (GA) B On 18/04/2024 06:23, Lukasz Lenart wrote: The Apache Struts 6.4.0 test build is available. With this release the following issues were addressed: Bug [WW-5192] - Radio tag not setting enum key values [WW-5319] - StrutsUtils is not de

Re: Unable to load configuration: /struts2-core-6.4.0.jar!/struts-beans.xml:39:72

2024-04-18 Thread Greg Huber
st place... Thanks! Markus Am 18.04.24 um 11:08 schrieb i...@flyingfischer.ch: I simply use   org.apache.struts2.tiles.StrutsTilesListener   without any further params. Is this incomplete? Markus Am 18.04.24 um 10:29 schrieb Greg Huber: How do you load your tiles from web.xml?

Re: Unable to load configuration: /struts2-core-6.4.0.jar!/struts-beans.xml:39:72

2024-04-18 Thread Greg Huber
..what would the pattern be? /WEB-INF/tiles*.xml On 18/04/2024 09:35, Łukasz Lenart wrote: Yes, this works but it doesn't support wildcards org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG /WEB-INF/tiles.xml czw., 18 kwi 2024 o 10:30 Greg Huber napisał(a):

Re: Unable to load configuration: /struts2-core-6.4.0.jar!/struts-beans.xml:39:72

2024-04-18 Thread Greg Huber
How do you load your tiles from web.xml? ..For my setup this works. org.apache.struts2.tiles.StrutsTilesListener           org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG           /WEB-INF/tiles.xml         On 18/04/2024 08:47, i...@flyingfischer.ch wrote

Re: [VOTE] Apache Struts Master 15

2024-04-09 Thread Greg Huber
Builds ok for me. [x] General Availability (GA) On 06/04/2024 18:14, Lukasz Lenart wrote: The Struts Master 15 test build is now available as a Maven artifact. https://repository.apache.org/content/groups/staging/org/apache/struts/struts-master/15/ Release notes: * uses the latest version of t

Re: [VOTE] Apache Struts Master 15

2024-04-09 Thread Greg Huber
What is the correct way to test this? Do a project build? On 06/04/2024 18:14, Lukasz Lenart wrote: The Struts Master 15 test build is now available as a Maven artifact. https://repository.apache.org/content/groups/staging/org/apache/struts/struts-master/15/ Release notes: * uses the latest v

Re: improve documentation for UploadedFilesAware

2024-03-25 Thread Greg Huber
it.  Maybe better to wait a bit before upgrading? On 24/03/2024 20:47, Lukasz Lenart wrote: pon., 18 mar 2024 o 14:42 Greg Huber napisał(a): OK...I did not spot the link in the text. I repeated the links in the Examples sections of both Che

Re: improve documentation for UploadedFilesAware

2024-03-18 Thread Greg Huber
OK...I did not spot the link in the text. On Mon, 18 Mar 2024 at 12:59, Łukasz Lenart wrote: > pon., 18 mar 2024 o 13:05 Greg Huber napisał(a): > > > > > See [this page] for more examples and advanced configuration. > > > > Which page? > > On these pa

Re: improve documentation for UploadedFilesAware

2024-03-18 Thread Greg Huber
See [this page] for more examples and advanced configuration. Which page? I reverted this idea and UploadedFile isn't generic. that would be in 7.0.0_M4? I used _M3 to test it. On 18/03/2024 11:56, Lukasz Lenart wrote: pon., 18 mar 2024 o 08:21 Greg Huber napisał(a): Rechecking

Re: improve documentation for UploadedFilesAware

2024-03-18 Thread Greg Huber
rg0) { } On 17/03/2024 16:46, Lukasz Lenart wrote: Added :) Also adjusted the Showcasehttps://github.com/apache/struts/pull/895 niedz., 17 mar 2024 o 12:29 Greg Huber napisał(a): Looks good, but what happened to the examples with the stream stuff? Something like this for MultipleFileUploadUsi

Re: improve documentation for UploadedFilesAware

2024-03-17 Thread Greg Huber
4 09:33, Lukasz Lenart wrote: Better? https://struts.staged.apache.org/core-developers/action-file-upload https://struts.staged.apache.org/core-developers/file-upload czw., 14 mar 2024 o 15:29 Greg Huber napisał(a): Sorry, I meant we need to copy/duplicate this page : https://struts.apache.org/core-developers/f

Re: improve documentation for UploadedFilesAware

2024-03-14 Thread Greg Huber
Lenart wrote: > Done > https://github.com/apache/struts-site/pull/231 > > czw., 14 mar 2024 o 11:35 Greg Huber napisał(a): > > > > There is a really good page for the old upload > > > > https://struts.apache.org/core-developers/file-upload.html > > > &g

Re: improve documentation for UploadedFilesAware

2024-03-14 Thread Greg Huber
imilar detail page, updated and with the stream stuff. return this.uploadedFiles.stream().map(UploadedFile::getContentType).toArray(); otherwise without streams List>uploads =this.uploadedFiles; if(uploads !=null&&uploads.size()>0){ for(inti =0;i pon., 26 lut 2024 o 12:08 Greg Hub

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-28 Thread Greg Huber
he projects having the errors and selecting "Maven > Disable Workspace Resolution". Then you can run the unit tests within Eclipse. On 2024/02/25 10:57:34 Greg Huber wrote: Also building in eclipse I get these strange errors Missing artifact org.apache.struts:struts2-freemarker-ja

improve documentation for UploadedFilesAware

2024-02-26 Thread Greg Huber
The documentation only lists one file |public void withUploadedFiles(List uploadedFiles) { if (!uploadedFiles.isEmpty()) { this.uploadedFile = uploadedFiles.get(0); this.fileName = uploadedFile.getName(); this.contentType = uploadedFile.getContentType(); this.originalName = uploadedFile.getOr

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Greg Huber
alName(file.getOriginalName()))     .toArray(String[]::new);     } This .map stuff is not good for debugging🙁. On 26/02/2024 06:26, Łukasz Lenart wrote: niedz., 25 lut 2024 o 09:42 Greg Huber napisał(a): Testing the file upload and it now does not work. I get an error where its usi

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-26 Thread Greg Huber
The old version.  The pom change to snapshot worked so I will have a look now. On 26/02/2024 06:26, Łukasz Lenart wrote: niedz., 25 lut 2024 o 09:42 Greg Huber napisał(a): Testing the file upload and it now does not work. I get an error where its using the wrong file name ie

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Greg Huber
}             org.apache.struts struts2-spring-plugin     ${project.version} Seems to be the newer jars, are the maven details correct? On 26/02/2024 06:28, Lukasz Lenart wrote: niedz., 25 lut 2024 o 11:57 Greg Huber napisał(a): Also building in eclipse I get these strange errors

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Greg Huber
Also building in eclipse I get these strange errors Missing artifact org.apache.struts:struts2-freemarker-jakarta:jar:7.0.0-M3 Missing artifact org.apache.struts:struts2-velocity-tools-jsp-jakarta:jar:7.0.0-M3 Missing artifact org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0-M

Re: [TEST] Apache Struts 7.0.0-M3 test build is ready

2024-02-25 Thread Greg Huber
Testing the file upload and it now does not work. I get an error where its using the wrong file name ie upload5549a568d9794ef5b654da83d07961350045.tmp rather than the actual file name. I put back the mods I did, and it still does not work. Were there any other changes? I did not test M2

Re: [7.0.0-M3] Error message

2024-02-16 Thread Greg Huber
What happened to M3? There is no tag on https://github.com/apache/struts On 16/02/2024 07:27, Lukasz Lenart wrote: I'm going to prepare another M4 which will contain the latest fixes around file upload and changes from the master branch pt., 9 lut 2024 o 16:53 Burton Rhodes napisał(a): Lastly

Re: file uploading

2024-02-13 Thread Greg Huber
Yes, only in the java templates plugin. Will do a PR. On Tue, 13 Feb 2024 at 15:18, Łukasz Lenart wrote: > I noticed your ticket in JIRA, so this problem is only related to the > Java templates plugin? > > pon., 12 lut 2024 o 16:56 Greg Huber napisał(a): > > > >

  1   2   3   4   5   6   >