Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-4312

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 3.1.0.M1
    • seam2
    • None

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

              scabanovich Viacheslav Kabanovich (Inactive)
              dazarov_jira Daniel Azarov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: