[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4315) Rename Seam Component wizard sometimes is initialized with a wrong component

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu May 14 10:40:48 EDT 2009


Rename Seam Component wizard sometimes is initialized with a wrong component
----------------------------------------------------------------------------

                 Key: JBIDE-4315
                 URL: https://jira.jboss.org/jira/browse/JBIDE-4315
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Seam
    Affects Versions: 3.1.0.M1
            Reporter: Viacheslav Kabanovich
            Assignee: Daniel Azarov
             Fix For: 3.1.0.M1


Testcase:

1. Create seam war project
2. Create seam action with "first" as component name
3. Add next string to components.xml:

<component class="org.domain.<projectname>.session.First" name="first2" />

4. Open First.java file
5. Select Seam->Rename Seam Component menu

ASSERT: Refactoring wizard appears initialized with component "first".

FAIL: Refactoring wizard appears initialized with component "first2".

Note: Issue may be not reproduced with names  "first" and "first2" because Seam model returns components based on class First in java.util.Set, so that there is indeterminacy which component will be selected. Then other names may be tried, or more components in xml declared.



-- 
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