[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-4312) Rename Seam Component does not work correctly with xml declaration of seam components

Daniel Azarov (JIRA) jira-events at lists.jboss.org
Wed May 13 09:42:08 EDT 2009


Rename Seam Component does not work correctly with xml declaration of seam components
-------------------------------------------------------------------------------------

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


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="first" />

4. Open First.java file
5. Select Seam->Rename Seam Component menu
6. Enter "second" as seam component name
7. Press Next button

ASSERT: In list of changes all "first" must be replaced by "second"

FAIL: In component.xml Refactoring Dialong offers next replacement:

<component class="org.domain.renameseamcomponenttestproject.session.First" name="first" />

to

<component class="org.domain.renameseamcomponenttestproject.session.First"second"first" />

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