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

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

                Author: ASF GitHub Bot
            Created on: 11/Jan/26 09:40
            Start Date: 11/Jan/26 09:40
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart opened a new pull request, #1513:
URL: https://github.com/apache/struts/pull/1513

   ## Summary
   - Move `xwork-default.xml` from `core/src/main/resources` to 
`core/src/test/resources` and rename to `struts-tests-default.xml`
   - Copy the file to `plugins/spring/src/test/resources` for Spring plugin 
tests
   - Update all test file references to use the new filename
   - Update Javadoc examples to use modern Struts terminology (`<xwork>` → 
`<struts>`, `xwork-default` → `struts-default`)
   
   Closes [WW-5603](https://issues.apache.org/jira/browse/WW-5603)
   
   ## Test plan
   - [x] Run affected core module tests (AnnotationWorkflowInterceptorTest, 
ChainingInterceptorWithConfigTest, ResolverUtilTest, 
DoubleRangeFieldValidatorTest, ValidatorAnnotationTest) - all pass
   - [x] Run affected Spring plugin test (ActionAutowiringInterceptorTest) - 
passes
   - [ ] Verify the Struts IDEA plugin no longer shows `xwork-default.xml` as a 
framework config file
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)




Issue Time Tracking
-------------------

            Worklog Id:     (was: 999433)
    Remaining Estimate: 0h
            Time Spent: 10m

> xwork-default.xml is shown as framework config file
> ---------------------------------------------------
>
>                 Key: WW-5603
>                 URL: https://issues.apache.org/jira/browse/WW-5603
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core, IDEA Plugin, Unit Tests
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Trivial
>             Fix For: 7.2.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When running Struts IDEA plugin, the plugin shows {{xwork-default.xml}} as on 
> of the config files, which is misleading. This file is only used in testing 
> and should be moved into test resources and renamed to 
> {{struts-tests-default.xml}}



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

Reply via email to