[jbosstools-issues] [JBoss JIRA] Created: (JBDS-1063) Invalid Duplicate component name validation error

David Hibbs (JIRA) jira-events at lists.jboss.org
Thu Jan 14 14:08:30 EST 2010


Invalid Duplicate component name validation error
-------------------------------------------------

                 Key: JBDS-1063
                 URL: https://jira.jboss.org/jira/browse/JBDS-1063
             Project: Developer Studio (JBoss Developer Studio)
          Issue Type: Bug
          Components: seam
    Affects Versions: 3.0.0.CR1
            Reporter: David Hibbs


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

        


More information about the jbosstools-issues mailing list