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
-
Labels:
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)