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

Problem with Refactor>Rename field in JSF KickStart project when "Rename getter ...", "Rename setter ..." are checked

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.Beta2
    • 3.2.0.M2
    • jsf
    • None

      Steps to reproduce:

      • create a JSF KickStart project
      • start the JBoss AS and verify that the application runs correctly
      • right-click the name property and call Refactor>Rename
      • rename the property to name1, check "Update References", "Rename getter ...", "Rename setter ..."
      • click OK

      You will get a NPE (attached is RefactorRename.log).
      After fixing the NPE (the fix is trivial; the NPE was introduced a few days ago), you will face the following issues:

      • the GWT Rename participants fail and are disabled (this is not a JBT problem; attached is GWTRefactorRename.log)
      • hello.jsp and inputUserName.jsp contain the user.name11 value.

      The problem can't be reproduced in JBDS 4.0.0.Beta1.
      The problem can be reproduced using the JBT trunk with and without GWT plugins.

            dazarov_jira Daniel Azarov (Inactive)
            snjeza_jira Snjezana Peco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: