Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Lukasz Lenart
pon., 29 sty 2024 o 20:11 Lamia Wertani  napisał(a):
>
> I have attached a file containing the generated HTML.

This looks good

> > However, instead of redirecting me to the domains list, it leads to a
> > blank page displaying the result.

If the save works, it means the response from action is broken, what
do you get as the response? Can use some a browser tool to check that?


Cheers
Łukasz

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Lamia Wertani
I have attached a file containing the generated HTML.

De : Łukasz Lenart 
Envoyé : lundi 29 janvier 2024 16:43
À : Struts Users Mailing List 
Objet : Re: Velocity tags Issue after Struts upgrade to 2.5.33

Could you post the generated HTML?

The only change between 2.5.32 and .2.5.33 is this [1] which shouldn't
impact Velocity
[1]
https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163

Regards
Lukasz

pon., 29 sty 2024 o 14:05 Lamia Wertani  napisał(a):

> Hello,
>
>
> I recently upgraded my Struts version from 2.5.22 to 2.5.33, and I'm
> encountering an issue with redirection in popups.
>
> For example, when I try to save a domain and click on the save button, the
> save operation works correctly.
>
> However, instead of redirecting me to the domains list, it leads to a
> blank page displaying the result.
>
> it seems that the Velocity tags are not functioning correctly. I tried
> changing them to HTML tags, and everything worked fine. I am using the
> #sform tag for my form, as shown below:
>
> *#*sform({"action":"save-domain", "method":"post", "validate":"true"})
>
> I'm using Velocity 1.7 and Velocity-tools version 2.0.
>
> I have attached a screenshot of the blank page showing the save operation
> result.
>
> Thanks in advance.
>
>




  



 

Group name*











  *Required field
  Cancel
  
   
 


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Re: Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Łukasz Lenart
Could you post the generated HTML?

The only change between 2.5.32 and .2.5.33 is this [1] which shouldn't
impact Velocity
[1]
https://github.com/apache/struts/commit/162e29fee9136f4bfd9b2376da2cbf590f9ea163

Regards
Lukasz

pon., 29 sty 2024 o 14:05 Lamia Wertani  napisał(a):

> Hello,
>
>
> I recently upgraded my Struts version from 2.5.22 to 2.5.33, and I'm
> encountering an issue with redirection in popups.
>
> For example, when I try to save a domain and click on the save button, the
> save operation works correctly.
>
> However, instead of redirecting me to the domains list, it leads to a
> blank page displaying the result.
>
> it seems that the Velocity tags are not functioning correctly. I tried
> changing them to HTML tags, and everything worked fine. I am using the
> #sform tag for my form, as shown below:
>
> *#*sform({"action":"save-domain", "method":"post", "validate":"true"})
>
> I'm using Velocity 1.7 and Velocity-tools version 2.0.
>
> I have attached a screenshot of the blank page showing the save operation
> result.
>
> Thanks in advance.
>
>


Velocity tags Issue after Struts upgrade to 2.5.33

2024-01-29 Thread Lamia Wertani
Hello,


I recently upgraded my Struts version from 2.5.22 to 2.5.33, and I'm 
encountering an issue with redirection in popups.

For example, when I try to save a domain and click on the save button, the save 
operation works correctly.

However, instead of redirecting me to the domains list, it leads to a blank 
page displaying the result.

it seems that the Velocity tags are not functioning correctly. I tried changing 
them to HTML tags, and everything worked fine. I am using the #sform tag for my 
form, as shown below:

#sform({"action":"save-domain", "method":"post", "validate":"true"})

I'm using Velocity 1.7 and Velocity-tools version 2.0.

I have attached a screenshot of the blank page showing the save operation 
result.

Thanks in advance.

[cid:1408d67f-29d6-4b11-aa76-c514054569db]