Skip to content

Type detection fails for child bean if parent bean has been resolved before [SPR-10374] #15007

@spring-projects-issues

Description

@spring-projects-issues

Franz Neumann opened SPR-10374 and commented

After update on Spring 3.2.2 following controllers aren't initialized:

 
<bean id="mainPageController" class="com.euroit.militaryshop.web.controller.MainPageController" 
		parent="baseTrolleyAwareController">
	<property name="productService" ref="productService"/>
	<property name="categoryService" ref="categoryService"/>
</bean>	

<bean id="baseTrolleyAwareController" class="com.euroit.militaryshop.web.controller.base.BaseTrolleyAwareController">
	<property name="trolley" ref="trolley"/>
</bean>

The class MainPageController:

@RequestMapping("/")
public class MainPageController extends BaseTrolleyAwareController {
..
}

So after ininilazation there is no "/" mapping. With Spring 3.2.1 it worked.


Affects: 3.2.2

Issue Links:

Referenced from: commits 070103b, 239a7cd

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions