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

Rename Seam Component wizard sometimes is initialized with a wrong component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.M1
    • 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="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.

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

                Created:
                Updated:
                Resolved: