[jira] [Commented] (WW-4404) Implement HttpInterceptor

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-4404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679723#comment-17679723
 ] 

ASF subversion and git services commented on WW-4404:
-

Commit 3b2c6057e7d8215b42c5639ec7062df44ee17ff7 in struts's branch 
refs/heads/http-interceptor from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=3b2c6057e ]

WW-4404 Implements HttpInterceptor


> Implement HttpInterceptor
> -
>
> Key: WW-4404
> URL: https://issues.apache.org/jira/browse/WW-4404
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Interceptors
>Affects Versions: 2.3.20
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>
> Allows limit access to actions based on used Http method type
> https://github.com/apache/struts/pull/25



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [struts] sonarcloud[bot] commented on pull request #655: Http interceptor

2023-01-23 Thread sonarcloud


sonarcloud[bot] commented on PR #655:
URL: https://github.com/apache/struts/pull/655#issuecomment-1399983548

   Kudos, SonarCloud Quality Gate passed!    [![Quality Gate 
passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png
 'Quality Gate 
passed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=655)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=BUG)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=655&resolved=false&types=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=655&resolved=false&types=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=655&resolved=false&types=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=655&resolved=false&types=CODE_SMELL)
   
   
[![96.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/90-16px.png
 
'96.0%')](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=655&metric=new_coverage&view=list)
 [96.0% 
Coverage](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=655&metric=new_coverage&view=list)
  
   
[![0.0%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/3-16px.png
 
'0.0%')](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=655&metric=new_duplicated_lines_density&view=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=655&metric=new_duplicated_lines_density&view=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Commented] (WW-5263) CSP related interceptors have wrong short names

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679902#comment-17679902
 ] 

ASF subversion and git services commented on WW-5263:
-

Commit 79eebf37176c29fae528eff8d0e1b1304684c50e in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=79eebf371 ]

Merge pull request #639 from apache/WW-5263-csp-naming

[WW-5263] Uses proper names for CSP, COOP and COEP interceptors

> CSP related interceptors have wrong short names
> ---
>
> Key: WW-5263
> URL: https://issues.apache.org/jira/browse/WW-5263
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core Interceptors
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> CoepInterceptor is using {{coepInterceptor}} instead of {{coep}}
> CoopInterceptor is using {{coopInterceptor}} instead of {{coop}}
> CspInterceptor is using {{cspInterceptor}} instead of {{csp}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5264) Extract XSLT result into a dedicated plugin

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679908#comment-17679908
 ] 

ASF subversion and git services commented on WW-5264:
-

Commit 0e62b4b53456e3158393a050d30475896ce6d549 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=0e62b4b53 ]

Merge pull request #641 from apache/WW-5264-xslt

[WW-5264] Moves XSLT result into a dedicated plugin

> Extract XSLT result into a dedicated plugin
> ---
>
> Key: WW-5264
> URL: https://issues.apache.org/jira/browse/WW-5264
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Results, Plugin - XSLT
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> XSLT result can be easily extracted into a dedicated plugin - this will allow 
> users to include it when needed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5199) StrutsPrepareFilter and StrutsExecuteFilter do not support forwarding to another action

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679906#comment-17679906
 ] 

ASF subversion and git services commented on WW-5199:
-

Commit 579796de5a2a1a638769b29ca412bf740eafe13e in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=579796de5 ]

Merge pull request #642 from atlassian/WW-5199-forward-action

WW-5199 Allow forwarding from/to actions

> StrutsPrepareFilter and StrutsExecuteFilter do not support forwarding to 
> another action
> ---
>
> Key: WW-5199
> URL: https://issues.apache.org/jira/browse/WW-5199
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 6.0.0
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Ween using {{StrutsPrepareFilter}}/{{StrutsExecuteFilter}} combination it 
> isn't possible to use {{DispatcherResult}} with forwarding to another actions 
> - it's do to the cleanup counter implemented in those filters.
> The same application using {{StrutsPrepareAndExecuteFilter}} works perfectly 
> fine, this is covered by 
> {{apps/showcase/src/test/java/it/org/apache/struts2/showcase/DispatcherResultTest.java}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5264) Extract XSLT result into a dedicated plugin

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679909#comment-17679909
 ] 

ASF subversion and git services commented on WW-5264:
-

Commit 63dd9536cab7c1d10baea11c2b35ce9ea3ca06f0 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=63dd9536c ]

WW-5264 Removes XSLTResult from struts-default.xml as it was moved into plugin


> Extract XSLT result into a dedicated plugin
> ---
>
> Key: WW-5264
> URL: https://issues.apache.org/jira/browse/WW-5264
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Results, Plugin - XSLT
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> XSLT result can be easily extracted into a dedicated plugin - this will allow 
> users to include it when needed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5264) Extract XSLT result into a dedicated plugin

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679907#comment-17679907
 ] 

ASF subversion and git services commented on WW-5264:
-

Commit 15dd2f2234e70dd95ed83900f2e255d7daddbca2 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=15dd2f223 ]

WW-5264 Moves XSLT result into a dedicated plugin


> Extract XSLT result into a dedicated plugin
> ---
>
> Key: WW-5264
> URL: https://issues.apache.org/jira/browse/WW-5264
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Results, Plugin - XSLT
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> XSLT result can be easily extracted into a dedicated plugin - this will allow 
> users to include it when needed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5262) Extract excluded classes and beans out of struts-default.xml

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679903#comment-17679903
 ] 

ASF subversion and git services commented on WW-5262:
-

Commit b9b9aaf71035697e7df113986148e2f1bc037086 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=b9b9aaf71 ]

WW-5262 Extracts excluded classes and beans into dedicated XML config files


> Extract excluded classes and beans out of struts-default.xml
> 
>
> Key: WW-5262
> URL: https://issues.apache.org/jira/browse/WW-5262
> Project: Struts 2
>  Issue Type: Improvement
>  Components: XML Configuration
>Reporter: Lukasz Lenart
>Priority: Trivial
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> To increase readability it would be good to extract excluded classes and 
> beans into dedicated xml config files and included them back in 
> {{struts-default.xml}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5262) Extract excluded classes and beans out of struts-default.xml

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679904#comment-17679904
 ] 

ASF subversion and git services commented on WW-5262:
-

Commit 97691a106d1f63d5173a2397b155527535b85764 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=97691a106 ]

Merge pull request #640 from apache/WW-5262-beans

[WW-5262] Extracts excluded classes and beans into dedicated XML config files

> Extract excluded classes and beans out of struts-default.xml
> 
>
> Key: WW-5262
> URL: https://issues.apache.org/jira/browse/WW-5262
> Project: Struts 2
>  Issue Type: Improvement
>  Components: XML Configuration
>Reporter: Lukasz Lenart
>Priority: Trivial
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> To increase readability it would be good to extract excluded classes and 
> beans into dedicated xml config files and included them back in 
> {{struts-default.xml}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5199) StrutsPrepareFilter and StrutsExecuteFilter do not support forwarding to another action

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679905#comment-17679905
 ] 

ASF subversion and git services commented on WW-5199:
-

Commit afd04ea5af64768ba61b941a4fdd277674196820 in struts's branch 
refs/heads/WW-5233-tiles from Kusal Kithul-Godage
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=afd04ea5a ]

WW-5199 Allow forwarding from/to actions


> StrutsPrepareFilter and StrutsExecuteFilter do not support forwarding to 
> another action
> ---
>
> Key: WW-5199
> URL: https://issues.apache.org/jira/browse/WW-5199
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 6.0.0
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Ween using {{StrutsPrepareFilter}}/{{StrutsExecuteFilter}} combination it 
> isn't possible to use {{DispatcherResult}} with forwarding to another actions 
> - it's do to the cleanup counter implemented in those filters.
> The same application using {{StrutsPrepareAndExecuteFilter}} works perfectly 
> fine, this is covered by 
> {{apps/showcase/src/test/java/it/org/apache/struts2/showcase/DispatcherResultTest.java}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5272) java.lang.UnsupportedOperationException in the Time component

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679917#comment-17679917
 ] 

ASF subversion and git services commented on WW-5272:
-

Commit 08de24588ad5b88ec3554b476c9d3cf0fb47b32c in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=08de24588 ]

WW-5272 Extends  to support java.sql.Time


> java.lang.UnsupportedOperationException in the Time component
> -
>
> Key: WW-5272
> URL: https://issues.apache.org/jira/browse/WW-5272
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 6.0.3
>Reporter: Massimiliano Del Matto
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> We are facing a java.lang.UnsupportedOperationException on some java.sql.Time 
> fields in our frontend after migrating from 2.5.26 to 6.0.3.
> Error 12/22/2022 09:52:20:122 Caused by: 
> java.lang.UnsupportedOperationException
> Error 12/22/2022 09:52:20:122 at java.sql.Time.toInstant(Time.java:291)
> Error 12/22/2022 09:52:20:122 at 
> org.apache.struts2.components.Date.end(Date.java:299)
> Error 12/22/2022 09:52:20:122 at 
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:40)
> Error 12/22/2022 09:52:20:122 at 
> JEE_jsp_pages_ReadTicketGoing_1671640129851._jspx_method_s_date_2(JEE_jsp_pages_ReadTicketGoing_1671640129851.java:408)
> Error 12/22/2022 09:52:20:122 at 
> JEE_jsp_pages_ReadTicketGoing_1671640129851._jspx_method_s_form_0(JEE_jsp_pages_ReadTicketGoing_1671640129851.java:1950)
> Error 12/22/2022 09:52:20:122 at 
> JEE_jsp_pages_ReadTicketGoing_1671640129851._jspService(JEE_jsp_pages_ReadTicketGoing_1671640129851.java:60)
> ...
>  
> At line 299 in Date.java there is no code related to java.sql.Time
> [https://github.com/apache/struts/blob/STRUTS_6_0_3/core/src/main/java/org/apache/struts2/components/Date.java#L299]
>  
> java.sql.Time extends java.util.Date so when dateObject is java.sql.Time is 
> treated like an instanceof java.util.Date and toInstant() throws the 
> UnsupportedOperationException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5233) Include Apache Tiles code base in the Tiles plugin

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679921#comment-17679921
 ] 

ASF subversion and git services commented on WW-5233:
-

Commit 9bb0c9ad374d0e4a3ef8ddb92fc276e5d4a21400 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=9bb0c9ad3 ]

WW-5233 Introduces Tiles base code into the Tiles plugin

WW-5233 Copies a based set of Tiles classes used by Struts

WW-5233 Copies Portlet related Tiles code base

WW-5233 Copies Tiles API related tests

WW-5233 Copies Tiles Core related tests

WW-5233 Copies Tiles EL related tests

WW-5233 Copies Tiles OGNL related tests

WW-5233 Copies Tiles Template related tests

WW-5233 Copies Tiles Servlet related tests

WW-5233 Upgrades Easymock to version 4.3 to support Java 17

WW-5233 Copies Tiles Request related tests

WW-5233 Copies Tiles Autotag related tests

WW-5233 Drops useless @version tag and addresses some potential RegEx 
vulnerabilities

WW-5233 Addresses bugs reported by Sonar

WW-5233 Addresses a few code smells

WW-5233 Copies Tiles Portal related tests

WW-5233 Fixes broken test

WW-5233 Adds Tiles DTD definition

Add missing classes and tld definition.

Add generating of Autotags and tests.

Make plugin standalone with all generated resources.

Make plugin standalone with all generated resources for velocity.

Make plugin standalone with all generated resources for velocity.

WW-5233 Marks Velocity dependencies as optional


> Include Apache Tiles code base in the Tiles plugin
> --
>
> Key: WW-5233
> URL: https://issues.apache.org/jira/browse/WW-5233
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Plugin - Tiles
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 7.0.0
>
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> Apache Tiles has retired and it isn't maintained anymore. There are some 
> outstanding security issues that can be addressed right now. It will be 
> easier to maintain the code base as a part of the Tiles plugin instead of 
> taking the project back from attick.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5269) Upgrade Jackson to version 2.14.1

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679915#comment-17679915
 ] 

ASF subversion and git services commented on WW-5269:
-

Commit 3bad2d0cecab1e364d35a6ab16b1f8b4df1b75af in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=3bad2d0ce ]

WW-5269 Upgrades Jackson to version 2.14.1


> Upgrade Jackson to version 2.14.1
> -
>
> Key: WW-5269
> URL: https://issues.apache.org/jira/browse/WW-5269
> Project: Struts 2
>  Issue Type: Dependency
>  Components: Core, Plugin - REST
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5277) Upgrade Freemarker to version 3.2.32

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679919#comment-17679919
 ] 

ASF subversion and git services commented on WW-5277:
-

Commit cde1753341557e0c767e8acf45adb3ac2bf51503 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=cde175334 ]

WW-5277 Upgrades Freemarker to version 2.3.32


> Upgrade Freemarker to version 3.2.32
> 
>
> Key: WW-5277
> URL: https://issues.apache.org/jira/browse/WW-5277
> Project: Struts 2
>  Issue Type: Dependency
>  Components: Core
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The Apache FreeMarker community is pleased to announce the release of
> Apache FreeMarker 2.3.32.
> https://freemarker.apache.org/docs/versions_2_3_32.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5277) Upgrade Freemarker to version 3.2.32

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679920#comment-17679920
 ] 

ASF subversion and git services commented on WW-5277:
-

Commit 46738c970ef20c64d997122c6f15caf2b76f0653 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=46738c970 ]

Merge pull request #651 from apache/WW-5277-freemarker

[WW-5277] Upgrades Freemarker to version 2.3.32

> Upgrade Freemarker to version 3.2.32
> 
>
> Key: WW-5277
> URL: https://issues.apache.org/jira/browse/WW-5277
> Project: Struts 2
>  Issue Type: Dependency
>  Components: Core
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The Apache FreeMarker community is pleased to announce the release of
> Apache FreeMarker 2.3.32.
> https://freemarker.apache.org/docs/versions_2_3_32.html



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5265) Allow removal of a single/specific container provider

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679914#comment-17679914
 ] 

ASF subversion and git services commented on WW-5265:
-

Commit 266d2d4ed526edbb8e8035df94e94a1007d7c360 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=266d2d4ed ]

Merge pull request #645 from atlassian/WW-5265-remove-container-provider

WW-5265 Allow removal of a single/specific container provider

> Allow removal of a single/specific container provider 
> --
>
> Key: WW-5265
> URL: https://issues.apache.org/jira/browse/WW-5265
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core
>Reporter: Kusal Kithul-Godage
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> As per title, this functionality would allow for adding container providers 
> that may be short-lived, or in modular/plugin-based system.
> Given that `ConfigurationManager#getContainerProviders`, 
> `ConfigurationManager#clearContainerProviders` and 
> `ConfigurationManager#addContainerProvider(ContainerProvider)` exist, this is 
> already possible, but the existence of an explicit method would make it more 
> performant.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5272) java.lang.UnsupportedOperationException in the Time component

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679918#comment-17679918
 ] 

ASF subversion and git services commented on WW-5272:
-

Commit d90bee49b5d521c591084111a4cba76aef3b7ea3 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=d90bee49b ]

Merge pull request #649 from apache/WW-5272-time

[WW-5272] Extends  to support java.sql.Time

> java.lang.UnsupportedOperationException in the Time component
> -
>
> Key: WW-5272
> URL: https://issues.apache.org/jira/browse/WW-5272
> Project: Struts 2
>  Issue Type: Bug
>Affects Versions: 6.0.3
>Reporter: Massimiliano Del Matto
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> We are facing a java.lang.UnsupportedOperationException on some java.sql.Time 
> fields in our frontend after migrating from 2.5.26 to 6.0.3.
> Error 12/22/2022 09:52:20:122 Caused by: 
> java.lang.UnsupportedOperationException
> Error 12/22/2022 09:52:20:122 at java.sql.Time.toInstant(Time.java:291)
> Error 12/22/2022 09:52:20:122 at 
> org.apache.struts2.components.Date.end(Date.java:299)
> Error 12/22/2022 09:52:20:122 at 
> org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:40)
> Error 12/22/2022 09:52:20:122 at 
> JEE_jsp_pages_ReadTicketGoing_1671640129851._jspx_method_s_date_2(JEE_jsp_pages_ReadTicketGoing_1671640129851.java:408)
> Error 12/22/2022 09:52:20:122 at 
> JEE_jsp_pages_ReadTicketGoing_1671640129851._jspx_method_s_form_0(JEE_jsp_pages_ReadTicketGoing_1671640129851.java:1950)
> Error 12/22/2022 09:52:20:122 at 
> JEE_jsp_pages_ReadTicketGoing_1671640129851._jspService(JEE_jsp_pages_ReadTicketGoing_1671640129851.java:60)
> ...
>  
> At line 299 in Date.java there is no code related to java.sql.Time
> [https://github.com/apache/struts/blob/STRUTS_6_0_3/core/src/main/java/org/apache/struts2/components/Date.java#L299]
>  
> java.sql.Time extends java.util.Date so when dateObject is java.sql.Time is 
> treated like an instanceof java.util.Date and toInstant() throws the 
> UnsupportedOperationException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5263) CSP related interceptors have wrong short names

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679901#comment-17679901
 ] 

ASF subversion and git services commented on WW-5263:
-

Commit ea15306aa5172e98617f3d7705644d8968e22083 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=ea15306aa ]

WW-5263 Uses porper names for CSP, COOP and COEP interceptors


> CSP related interceptors have wrong short names
> ---
>
> Key: WW-5263
> URL: https://issues.apache.org/jira/browse/WW-5263
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core Interceptors
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> CoepInterceptor is using {{coepInterceptor}} instead of {{coep}}
> CoopInterceptor is using {{coopInterceptor}} instead of {{coop}}
> CspInterceptor is using {{cspInterceptor}} instead of {{csp}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5265) Allow removal of a single/specific container provider

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679912#comment-17679912
 ] 

ASF subversion and git services commented on WW-5265:
-

Commit b795a920a8aecb49980983b271c04555a5770eaf in struts's branch 
refs/heads/WW-5233-tiles from Kusal Kithul-Godage
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=b795a920a ]

WW-5265 Formatting fixes


> Allow removal of a single/specific container provider 
> --
>
> Key: WW-5265
> URL: https://issues.apache.org/jira/browse/WW-5265
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core
>Reporter: Kusal Kithul-Godage
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> As per title, this functionality would allow for adding container providers 
> that may be short-lived, or in modular/plugin-based system.
> Given that `ConfigurationManager#getContainerProviders`, 
> `ConfigurationManager#clearContainerProviders` and 
> `ConfigurationManager#addContainerProvider(ContainerProvider)` exist, this is 
> already possible, but the existence of an explicit method would make it more 
> performant.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5264) Extract XSLT result into a dedicated plugin

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679911#comment-17679911
 ] 

ASF subversion and git services commented on WW-5264:
-

Commit 0d81cdd85db79fcc8515bb6735814daec3a84ca6 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=0d81cdd85 ]

Merge pull request #646 from apache/WW-5264-xslt-cleanup

[WW-5264] Removes XSLTResult from struts-default.xml as it was moved in to 
plugin

> Extract XSLT result into a dedicated plugin
> ---
>
> Key: WW-5264
> URL: https://issues.apache.org/jira/browse/WW-5264
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Results, Plugin - XSLT
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> XSLT result can be easily extracted into a dedicated plugin - this will allow 
> users to include it when needed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5265) Allow removal of a single/specific container provider

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679913#comment-17679913
 ] 

ASF subversion and git services commented on WW-5265:
-

Commit 45aa17238604d13a83420e9c538f3a8c00ec46bf in struts's branch 
refs/heads/WW-5233-tiles from Kusal Kithul-Godage
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=45aa17238 ]

WW-5265 Allow removal of a single/specific container provider from Struts 
configuration


> Allow removal of a single/specific container provider 
> --
>
> Key: WW-5265
> URL: https://issues.apache.org/jira/browse/WW-5265
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core
>Reporter: Kusal Kithul-Godage
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> As per title, this functionality would allow for adding container providers 
> that may be short-lived, or in modular/plugin-based system.
> Given that `ConfigurationManager#getContainerProviders`, 
> `ConfigurationManager#clearContainerProviders` and 
> `ConfigurationManager#addContainerProvider(ContainerProvider)` exist, this is 
> already possible, but the existence of an explicit method would make it more 
> performant.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5269) Upgrade Jackson to version 2.14.1

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679916#comment-17679916
 ] 

ASF subversion and git services commented on WW-5269:
-

Commit bcf2e11518739ceab87631e57cb22fdf74a7cfc0 in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=bcf2e1151 ]

Merge pull request #647 from apache/WW-5269-jackson

[WW-5269] Upgrades Jackson to version 2.14.1

> Upgrade Jackson to version 2.14.1
> -
>
> Key: WW-5269
> URL: https://issues.apache.org/jira/browse/WW-5269
> Project: Struts 2
>  Issue Type: Dependency
>  Components: Core, Plugin - REST
>Reporter: Lukasz Lenart
>Priority: Minor
> Fix For: 6.2.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (WW-5264) Extract XSLT result into a dedicated plugin

2023-01-23 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17679910#comment-17679910
 ] 

ASF subversion and git services commented on WW-5264:
-

Commit d11cf771b64bd1350d1e181a917b6beb106d0f6b in struts's branch 
refs/heads/WW-5233-tiles from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=d11cf771b ]

WW-5264 Uses proper parent package when testing XSLT result


> Extract XSLT result into a dedicated plugin
> ---
>
> Key: WW-5264
> URL: https://issues.apache.org/jira/browse/WW-5264
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Core Results, Plugin - XSLT
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 6.2.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> XSLT result can be easily extracted into a dedicated plugin - this will allow 
> users to include it when needed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[GitHub] [struts] sonarcloud[bot] commented on pull request #608: [WW-5233] Include Apache Tiles code base in the Tiles plugin

2023-01-23 Thread sonarcloud


sonarcloud[bot] commented on PR #608:
URL: https://github.com/apache/struts/pull/608#issuecomment-1400703030

   SonarCloud Quality Gate failed.    [![Quality Gate 
failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png
 'Quality Gate 
failed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=608)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=BUG)
 
[![B](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/B-16px.png
 
'B')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=BUG)
 [2 
Bugs](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=608&resolved=false&types=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=608&resolved=false&types=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=608&resolved=false&types=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=CODE_SMELL)
 [158 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=CODE_SMELL)
   
   
[![62.6%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/60-16px.png
 
'62.6%')](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_coverage&view=list)
 [62.6% 
Coverage](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_coverage&view=list)
  
   
[![3.8%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/5-16px.png
 
'3.8%')](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_duplicated_lines_density&view=list)
 [3.8% 
Duplication](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_duplicated_lines_density&view=list)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@struts.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[jira] [Work logged] (WW-5233) Include Apache Tiles code base in the Tiles plugin

2023-01-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/WW-5233?focusedWorklogId=841190&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-841190
 ]

ASF GitHub Bot logged work on WW-5233:
--

Author: ASF GitHub Bot
Created on: 23/Jan/23 17:18
Start Date: 23/Jan/23 17:18
Worklog Time Spent: 10m 
  Work Description: sonarcloud[bot] commented on PR #608:
URL: https://github.com/apache/struts/pull/608#issuecomment-1400703030

   SonarCloud Quality Gate failed.    [![Quality Gate 
failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/failed-16px.png
 'Quality Gate 
failed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=608)
   
   
[![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png
 
'Bug')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=BUG)
 
[![B](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/B-16px.png
 
'B')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=BUG)
 [2 
Bugs](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=BUG)
  
   
[![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png
 
'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=VULNERABILITY)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=VULNERABILITY)
  
   [![Security 
Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png
 'Security 
Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=608&resolved=false&types=SECURITY_HOTSPOT)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=608&resolved=false&types=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=608&resolved=false&types=SECURITY_HOTSPOT)
  
   [![Code 
Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png
 'Code 
Smell')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=CODE_SMELL)
 
[![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png
 
'A')](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=CODE_SMELL)
 [158 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=608&resolved=false&types=CODE_SMELL)
   
   
[![62.6%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/60-16px.png
 
'62.6%')](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_coverage&view=list)
 [62.6% 
Coverage](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_coverage&view=list)
  
   
[![3.8%](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/5-16px.png
 
'3.8%')](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_duplicated_lines_density&view=list)
 [3.8% 
Duplication](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=608&metric=new_duplicated_lines_density&view=list)
   
   




Issue Time Tracking
---

Worklog Id: (was: 841190)
Time Spent: 3h 10m  (was: 3h)

> Include Apache Tiles code base in the Tiles plugin
> --
>
> Key: WW-5233
> URL: https://issues.apache.org/jira/browse/WW-5233
> Project: Struts 2
>  Issue Type: Improvement
>  Components: Plugin - Tiles
>Reporter: Lukasz Lenart
>Priority: Major
> Fix For: 7.0.0
>
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Apache Tiles has retired and it isn't maintained anymore. There are some 
> outstanding security issues that can be addressed right now. It will be 
> easier to maintain the code base as a part of the Tiles plugin instead of 
> taking the project back from attick.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)