Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Complete
-
Affects Version/s: 1.1.3.RELEASE
-
Fix Version/s: 1.1.4.RELEASE
-
Labels:None
-
Environment:Intel Mac 10.6.7
Description
I had a working project running 1.1.2. I upgraded to 1.1.3 and the following issues began. I have not found a work-around but wonder if there is a technique for overriding methods that I should be using and am not.
In my AthleteController I have the following:
Code:
@RequestMapping(value = "/
{id}", method = RequestMethod.GET)
public String show(@PathVariable("id") Long id, Model uiModel)
and in my roo shell it instantly complains:
Code:
Method 'show' already defined in target type 'com.blah.controllers.AthleteController' (ITD target 'com.blah.controllers.AthleteController_Roo_Controller')
For basically every method that I have overridden in my controllers it complains. (As I fix one, the next one comes up complaining in the shell.) Renaming the method name does stop the complaining,but Roo then also re-gen's the method in the Roo class.
Attachments
Issue Links
- is duplicated by
-
ROO-2396 pushing in controller method breaks roo shell
-
- Resolved
-
-
ROO-2439 Pushin refactoring of Controller methods fails with Exception in Roo Shell
-
- Resolved
-
- is related to
-
ROO-2362 Finders not working in WebScaffold
-
- Resolved
-
-
ROO-2373 Pushed-in methods from the Json ITD in MVC controllers do not work
-
- Resolved
-
- relates to
-
ROO-1788 problem when changing method signature of pushed-in method
-
- Resolved
-