Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-2026

Grails aware type rename refactoring doesn't replace controller references in serveral places

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.8.0.M1
    • Fix Version/s: None
    • Component/s: GRAILS

      Description

      Grails aware rename type refactoring mostly takes care of renaming related types correctly.

      However, it is not taking into account references to controllers in the following places:

      • <g:link controller="..." ...> (and other g"link variations).
      • url mappings
      • in SQL: Old.executeUpdate("update Old e set ...") will become New.executeUpdate("update Old e set ...") <-- the 'Old' in executeUpdate stays the same
      • Also, it might be insteresting to update @link values in JavaDoc comments: /** @link myproj.Old / should become / @link myproj.New **/

      DONE:

      • redirect(controller: "...") (and other redirect variations in controller classes)

        Activity

        Show
        kdvolder Kris De Volder added a comment - See also https://issuetracker.springsource.com/browse/STS-2105
        Hide
        kdvolder Kris De Volder added a comment -

        Reducing priority, most important sub-issues taken care off. (Willing to reconsider the priority of this issue if votes received on sub-issue).

        Show
        kdvolder Kris De Volder added a comment - Reducing priority, most important sub-issues taken care off. (Willing to reconsider the priority of this issue if votes received on sub-issue).
        Hide
        mlippert Martin Lippert added a comment -

        We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here.
        The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

        Show
        mlippert Martin Lippert added a comment - We no longer work on the Grails integration for Eclipse, therefore I am closing all the remaining open issues here. The code of the project is still available as open-source at GitHub: https://github.com/spring-projects/grails-ide

          People

          • Assignee:
            Unassigned
            Reporter:
            kdvolder Kris De Volder
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: