Skip to content

sort BeanDefinitionRegistryPostProcessors added by other BeanDefinitionRegistryPostProcessors [SPR-16043] #20592

Closed
@spring-projects-issues

Description

@spring-projects-issues

zyro opened SPR-16043 and commented

we are having an ordering problem where one BeanDefinitionRegistryPostProcessor adds multiple other BeanDefinitionRegistryPostProcessor s.
those additional ones get applied in arbitrary order (i.e. not in the order that would correspond to their Ordered precedence).

i dropped a commit comment here: bb971ce#diff-94c72f4a124185c98f882bc9a7038e74R112

ref. also #15258

problem initially found here: apache/grails-core#10824 (comment)

thanks, zyro


Affects: 4.3.11, 5.0 GA

Reference URL: bb971ce#diff-94c72f4a124185c98f882bc9a7038e74R112

Issue Links:

Referenced from: commits 7610210, ad4c8e7

Backported to: 4.3.12

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions