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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.8.0.M1
    • None
    • 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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: