[
https://issues.apache.org/jira/browse/WW-5419?focusedWorklogId=915696&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-915696
]
ASF GitHub Bot logged work on WW-5419:
--------------------------------------
Author: ASF GitHub Bot
Created on: 21/Apr/24 08:51
Start Date: 21/Apr/24 08:51
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #920:
URL: https://github.com/apache/struts/pull/920#issuecomment-2067965128
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=920)
**Quality Gate failed**
Failed conditions
 [8 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=920&resolved=false&inNewCodePeriod=true)
 [28.6% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=920&metric=new_coverage&view=list)
(required ≥ 80%)
 [4.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=920&metric=new_duplicated_lines_density&view=list)
(required ≤ 3%)
 [E Reliability Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=920)
(required ≥ A)
 [E Security Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=920)
(required ≥ A)
[See analysis details on
SonarCloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=920)
##
 Catch issues before they fail your Quality Gate with our IDE extension

[SonarLint](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
Issue Time Tracking
-------------------
Worklog Id: (was: 915696)
Time Spent: 0.5h (was: 20m)
> Autoloading of tiles.xml fails in Struts-6.4.0
> ----------------------------------------------
>
> Key: WW-5419
> URL: https://issues.apache.org/jira/browse/WW-5419
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tiles
> Affects Versions: 6.4.0
> Reporter: Markus Fischer
> Assignee: Lukasz Lenart
> Priority: Blocker
> Fix For: 6.5.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Starting in 6.4.0 a tiles definition in {{/WEB-INF/tiles.xml}} is not found
> automatically anymore. The problem arises only, if the definition in web.xml
> contains no param section:
> {code:xml}
> <listener>
>
> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
> </listener>
> {code}
>
> The workaround is to specify the specific location:
> {code:xml}
> <listener>
>
> <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class>
> </listener>
> <context-param>
>
> <param-name>org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG</param-name>
> <param-value>
> /WEB-INF/tiles.xml
> </param-value>
> </context-param>
> {code}
>
> The issue has been introduced by this
> [change|https://github.com/apache/struts/pull/896/commits/c7ae614824b4c158b9998575294d94fe9a746c41]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)