Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.1-RC1
-
Component/s: Configuration
-
Labels:None
Description
You can only register aliases for beans registered in resources.groovy (or doWithSpring in a plugin); registering an alias for another bean in the context fails silently.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
For clarification, this means you can do this now:
beans = { springConfig.addAlias 'barService', 'fooService' }which will register the alias "barService" for an existing "fooService" bean.