Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 1.2.2.RELEASE
-
Fix Version/s: 1.2.3.RELEASE
-
Component/s: WEB MVC
-
Labels:
Description
I have a scaffolded controller FooController on domain object Foo that requires another domain object Bar.
In FooController_Roo_Controller.aj, method createForm() there is this code:
if (myService.countAllBars() == 0) {
dependencies.add(new String[]
);
}
However, I in BarController I changed the @RequestMapping to this:
@RequestMapping("/admin/bar")
@Controller
@RooWebScaffold(path = "admin/bar", formBackingObject = Bar.class)
public class BarController
So, I expect to see this line in FooController_Roo_Controller.aj:
dependencies.add(new String[]
);