[
https://jira.jboss.org/jira/browse/JBIDE-5685?page=com.atlassian.jira.plu...
]
Alexey Kazakov moved JBDS-1063 to JBIDE-5685:
---------------------------------------------
Project: Tools (JBoss Tools) (was: Developer Studio (JBoss Developer
Studio))
Key: JBIDE-5685 (was: JBDS-1063)
Component/s: Seam
(was: seam)
Affects Version/s: 3.1.0.CR1
(was: 3.0.0.CR1)
Invalid Duplicate component name validation error
-------------------------------------------------
Key: JBIDE-5685
URL:
https://jira.jboss.org/jira/browse/JBIDE-5685
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.CR1
Reporter: David Hibbs
Fix For: 3.1.0.CR2
Working from Seam In Action examples, but now with SEAM 2.2 and tools 3.1 CR1.
RegisterAction uses some additional configuration from components.xml, defined by a
component element without a class specified;
<component name="registerAction">
<property name="pro-status-types">amateur pro
semi-pro</property>
<property name="specialtyTypes">
<value>#{messages['specialty.drive']}</value>
<value>#{messages['specialty.chip']}</value>
<value>#{messages['specialty.putt']}</value>
<value>#{messages['specialty.iron']}</value>
<value>#{messages['specialty.looks']}</value>
</property>
</component>
The RegisterAction java source is annotated with an @Name header:
package org.open18.action;
...
@Name("registerAction")
public class RegisterAction {
Validation flags this as "Duplicate component name: "registerAction".
This does not prevent the project from building or deploying to JBoss AS 5.1, which in
fact operates correctly. The validation simply flags it as an error.
This same validation works properly in Seam 2.1 and tools 3.0.1.GA-R2.
Updated to the latest nightly build (JBossTools-Update-3.1.0.v201001140301N-H131-CR2.zip)
and the problem still exists.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira