[
https://issues.apache.org/jira/browse/WW-4421?focusedWorklogId=1006472&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1006472
]
ASF GitHub Bot logged work on WW-4421:
--------------------------------------
Author: ASF GitHub Bot
Created on: 21/Feb/26 09:12
Start Date: 21/Feb/26 09:12
Worklog Time Spent: 10m
Work Description: lukaszlenart merged PR #1579:
URL: https://github.com/apache/struts/pull/1579
Issue Time Tracking
-------------------
Worklog Id: (was: 1006472)
Time Spent: 0.5h (was: 20m)
> Duplicate @Action value annotation check skipped
> ------------------------------------------------
>
> Key: WW-4421
> URL: https://issues.apache.org/jira/browse/WW-4421
> Project: Struts 2
> Issue Type: Bug
> Components: Annotations, Plugin - Convention
> Affects Versions: 2.3.16.3
> Reporter: Sebastian Haas
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 6.9.0, 7.2.0
>
> Attachments: MethodCheckFailsOnStartup.java,
> MethodCheckSkippedOnStartup.java
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{PackageBasedActionConfigBuilder#buildConfiguration}} checks if there are
> duplicate action names on method annotations. If {{ActionSupport#execute}} is
> overridden and annotated with {{@Action}}, the duplicate action name check is
> skipped.
> The check is disabled due to
> {code:title=PackageBasedActionConfigBuilder.java:674}if
> (!map.containsKey(DEFAULT_METHOD){code}
> Having duplicate action names leads to different behavior with Java 7 or Java
> 8 environment (due to reflection method order).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)