Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Resource injection regression with scope prototype [SPR-9684] #14318

Closed
spring-projects-issues opened this issue Aug 14, 2012 · 1 comment
Closed
Assignees
Labels
in: core in: test status: duplicate

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Aug 14, 2012

Stéphane Nicoll opened SPR-9684 and commented

The spring test infrastructure no longer honour prototype-scoped beans if they are injected wiht @Resource. It does work with @Autowired.

We suspect that #13814 may have brought this regression.

To reproduce, extract the zip and run the tests (either from your IDE or on the command line with Maven). You can validate the regression by running the following command:

mvn clean install -Dspring.version=3.1.1.RELEASE

Affects: 3.1.2

Attachments:

Issue Links:

  • #14261 Regression: scoped beans being cached too aggressively ("duplicates")

1 votes, 2 watchers

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Aug 14, 2012

Stéphane Nicoll commented

Sorry, this is a duplicate of #14261

@spring-projects-issues spring-projects-issues added type: bug in: test in: core status: duplicate labels Jan 11, 2019
@spring-projects-issues spring-projects-issues removed the type: bug label Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core in: test status: duplicate
Projects
None yet
Development

No branches or pull requests

2 participants