Struts 6.4.0 Release Date

2024-04-17 Thread Pranish Srigiri
Hi Team,
We have a major release planned in the next 2 months. For this we need to
upgrade struts to 6.4.0. We've been waiting for it to get released since
January. It would be great if we know the release timeline of v6.4.0.

Thanks and Regards,
Pranish Srigiri


Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-11 Thread Pranish Srigiri
Hi Lukasz,
I tried testing with the latest Snapshot generated on the 9th of Jan. Good
news is, the issue is resolved in this version. Thank you for all the help.

I have an other question related to the same  tag.
We've used the tag like this in one of our pages.


The above tag was rendered like this in v2.x

Guest User Can share
with existing defined Full or Power users
[image: image.png]
After I upgraded the struts version to v6.x, the tag renders like this.

Guest
Userinbsp;nbsp;Can share with existing defined Full or
Power users/i
[image: image.png]

If you notice the , in 2.x the html code in the list gets rendered
as is inside the label, but in 6.x all the html characters are escaped. I
haven't found a solution to this. There are a lot of places where code like
this is used. I'm not sure how to proceed.

Thanks and Regards,
Pranish Srigiri



On Wed, Jan 10, 2024 at 12:43 PM Pranish Srigiri 
wrote:

> Thanks for all the information Lukasz.
>
> Regards,
> Pranish Srigiri
>
> Sent from Gmail Mobile
>
>
> On Wed, 10 Jan 2024 at 1:29 AM, Lukasz Lenart 
> wrote:
>
>> wt., 9 sty 2024 o 20:01 Pranish Srigiri 
>> napisał(a):
>> > Hi Lukasz,
>> > I'm not sure if the PR is included in the present Snapshot available
>> here.
>> >
>> https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/6.4.0-SNAPSHOT/
>> > I tried to test with this version of the Snapshot but unfortunately the
>> > issue wasn't resolved, so I guess the PR isn't included in this version
>> of
>> > the SNAPSHOT.
>>
>> As I said, the PR got merged into codebase but the SNAPSHOT wasn't
>> deployed because of [1]
>> [1] https://issues.apache.org/jira/browse/INFRA-25350
>>
>>
>> Cheers
>> Lukasz
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>


Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Pranish Srigiri
Thanks for all the information Lukasz.

Regards,
Pranish Srigiri

Sent from Gmail Mobile


On Wed, 10 Jan 2024 at 1:29 AM, Lukasz Lenart 
wrote:

> wt., 9 sty 2024 o 20:01 Pranish Srigiri  napisał(a):
> > Hi Lukasz,
> > I'm not sure if the PR is included in the present Snapshot available
> here.
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/6.4.0-SNAPSHOT/
> > I tried to test with this version of the Snapshot but unfortunately the
> > issue wasn't resolved, so I guess the PR isn't included in this version
> of
> > the SNAPSHOT.
>
> As I said, the PR got merged into codebase but the SNAPSHOT wasn't
> deployed because of [1]
> [1] https://issues.apache.org/jira/browse/INFRA-25350
>
>
> Cheers
> Lukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Pranish Srigiri
I also noticed that 6.4 requires a new dependency called caffein. My server
wasn't starting until I included this dependency,
https://central.sonatype.com/artifact/com.github.ben-manes.caffeine/caffeine

Thanks and Regards,
Pranish Srigiri

On Wed, Jan 10, 2024 at 12:31 AM Pranish Srigiri 
wrote:

> Hi Lukasz,
> I'm not sure if the PR is included in the present Snapshot available here.
> https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/6.4.0-SNAPSHOT/
> I tried to test with this version of the Snapshot but unfortunately the
> issue wasn't resolved, so I guess the PR isn't included in this version of
> the SNAPSHOT.
>
> Thanks and Regards,
> Pranish Srigiri
>
> On Tue, Jan 9, 2024 at 11:36 PM Lukasz Lenart 
> wrote:
>
>> pon., 8 sty 2024 o 20:21 Pranish Srigiri 
>> napisał(a):
>> > Hi Lukasz,
>> > I think the PR could address the problem. I see that the fix-version of
>> > WW-5365 is 6.4. When do you think v6.4 is going to go 'GA'? Is there a
>> way
>> > to test this PR?
>>
>> Version 6.4.0 will be released once this issue is resolved [1] - I
>> think this is the final piece.
>>
>> The PR got merged and a SNAPSHOT version should be deployed to ASF
>> Nexus soon [2]  or you can download it from here [3] (once this ticket
>> is addressed [4])
>>
>> [1] https://issues.apache.org/jira/browse/WW-5352
>> [2] https://struts.apache.org/builds.html#maven-snapshots
>> [3] https://nightlies.apache.org/struts/snapshot/
>> [4] https://issues.apache.org/jira/browse/INFRA-25350
>>
>>
>> Cheers
>> Łukasz
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>


Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Pranish Srigiri
Hi Lukasz,
I'm not sure if the PR is included in the present Snapshot available here.
https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/6.4.0-SNAPSHOT/
I tried to test with this version of the Snapshot but unfortunately the
issue wasn't resolved, so I guess the PR isn't included in this version of
the SNAPSHOT.

Thanks and Regards,
Pranish Srigiri

On Tue, Jan 9, 2024 at 11:36 PM Lukasz Lenart 
wrote:

> pon., 8 sty 2024 o 20:21 Pranish Srigiri 
> napisał(a):
> > Hi Lukasz,
> > I think the PR could address the problem. I see that the fix-version of
> > WW-5365 is 6.4. When do you think v6.4 is going to go 'GA'? Is there a
> way
> > to test this PR?
>
> Version 6.4.0 will be released once this issue is resolved [1] - I
> think this is the final piece.
>
> The PR got merged and a SNAPSHOT version should be deployed to ASF
> Nexus soon [2]  or you can download it from here [3] (once this ticket
> is addressed [4])
>
> [1] https://issues.apache.org/jira/browse/WW-5352
> [2] https://struts.apache.org/builds.html#maven-snapshots
> [3] https://nightlies.apache.org/struts/snapshot/
> [4] https://issues.apache.org/jira/browse/INFRA-25350
>
>
> Cheers
> Łukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-08 Thread Pranish Srigiri
Hi Burton,
The values are not based off an enum. The radio is linked to a String in
the Action.
I came across a question posted by Nate Kerkhofs on the 23rd of Nov, 2023.
This helped me in resolving the issue by removing the 'value' attribute
from the  tag. We've used the  tag more than 300
times in our project. It's going to be a task to check every single
 and remove the 'value' attribute.

Hi Lukasz,
I think the PR could address the problem. I see that the fix-version of
WW-5365 is 6.4. When do you think v6.4 is going to go 'GA'? Is there a way
to test this PR?

My apologies to you guys for the late reply.

Thanks and Regards,
Pranish Srigiri

On Sun, Jan 7, 2024 at 4:12 PM Lukasz Lenart 
wrote:

> Could this PR [1] address your problem?
>
> [1] https://github.com/apache/struts/pull/835
>
>
> Regards
> Łukasz
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-05 Thread Pranish Srigiri
Hi All,
I have a situation in my project where the radio buttons are not selected
by default. This has only started happening after I upgraded struts to
v6.3.0.2
Just a heads up, I've upgraded all the dependencies like OGNL, Freemarker,
after I upgraded struts to v6.3.0.2
I have a tag which looks like this.


I set the list 'YesNo' in my Action class that looks like this.
ActionContext.getContext().put("YesNo",
PageData.getInstance().getRadioYesNo(params));
Here PageData.getInstance().getRadioYesNo(params) returns a HashMap.

In my action class sshCompress is set to "N":
sshCompress = "N";
The above variable also has its getter and setter.

When the page loads, the above struts radio tag is rendered like this in
v2.5.31:

Yes
No

but it's rendered like this in v6.3.0.2

Yes

No

If you notice, the radio button with value="N" is not checked by default in
v6.3.0.2 even though sshCompress is being set to "N" in the Action.

I can see this behaviour with all the  tags where the list
attribute is used, I'm not sure what has changed in the new version or if I
have missed adding something.

Like I said, no code has been changed in the project. The dependencies were
upgraded and the necessary compiler issues were resolved.

Please let me know if you need any more information.
Really appreciate all your help.

Thanks and Regards,
Pranish Srigiri