[
https://issues.apache.org/jira/browse/WW-5402?focusedWorklogId=911243&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-911243
]
ASF GitHub Bot logged work on WW-5402:
--------------------------------------
Author: ASF GitHub Bot
Created on: 25/Mar/24 08:48
Start Date: 25/Mar/24 08:48
Worklog Time Spent: 10m
Work Description: sonarcloud[bot] commented on PR #896:
URL: https://github.com/apache/struts/pull/896#issuecomment-2017487780
## [](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=896)
**Quality Gate failed**
Failed conditions
 [8 Security
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=896&resolved=false&inNewCodePeriod=true)
 [28.6% Coverage on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=896&metric=new_coverage&view=list)
(required ≥ 80%)
 [4.0% Duplication on New
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=896&metric=new_duplicated_lines_density&view=list)
(required ≤ 3%)
 [E Security Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=896)
(required ≥ A)
 [E Reliability Rating on New
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=896)
(required ≥ A)
[See analysis details on
SonarCloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=896)
##
 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: 911243)
Time Spent: 20m (was: 10m)
> Auto loading the Tiles definition files from the classpath dependent JAR
> ------------------------------------------------------------------------
>
> Key: WW-5402
> URL: https://issues.apache.org/jira/browse/WW-5402
> Project: Struts 2
> Issue Type: New Feature
> Components: Plugin - Tiles
> Affects Versions: 6.3.0
> Reporter: Saravanan Sivaguru
> Priority: Major
> Fix For: 6.4.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Hi Team
> Currently we are able to load all the tiles definition files if it is
> available under the WEB-INF folder with file name convention tiles*.xml. But
> we are unable to load the tiles definition files which is available as a part
> of the dependent jar files /WEB-INF/lib folders even though the file name
> convention starts with tiles*.xml
> Need to enhance the feature to also look on the associated library files for
> the tiles definitions.
> (OR)
> We need to enhance the another existing approach of defining the tiles
> definition files with the below param,
> org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
> With this param currently we cannot load the tiles definition files unless we
> have defined the parameter value as complete actual file path
> Current acceptance - /WEB-INF/config/tiles/com.acnielsen.ftms.tiles.xml
> Proposed (Wildcard usage)- /WEB-INF/config/tiles/*.tiles.xml
> Additionally the current definition scope will only scan files within
> application again it is not scanning on the lib files available under the
> classpath
> Proposed - classpath*:/META-INF/*.tiles.xml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)