[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-dev
Subject: [jira] [Created] (WW-4421) Duplicate @Action value annotation check skipped
From: "Sebastian Haas (JIRA)" <jira () apache ! org>
Date: 2014-11-19 10:23:33
Message-ID: JIRA.12756358.1416392599000.534169.1416392613713 () Atlassian ! JIRA
[Download RAW message or body]
Sebastian Haas created WW-4421:
----------------------------------
Summary: 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, 2.3.x
Reporter: Sebastian Haas
{{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
(v6.3.4#6332)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic