Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-16043

sort BeanDefinitionRegistryPostProcessors added by other BeanDefinitionRegistryPostProcessors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 4.3.11, 5.0 GA
    • Fix Version/s: 4.3.12, 5.0.1
    • Component/s: Core
    • Labels:
      None

      Description

      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: https://github.com/spring-projects/spring-framework/commit/bb971cecf15e8c7983cbaf7767851236d132889c#diff-94c72f4a124185c98f882bc9a7038e74R112

      ref. also https://jira.spring.io/browse/SPR-10630

      problem initially found here: https://github.com/grails/grails-core/issues/10824#issuecomment-334106247

      thanks, zyro

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                juergen.hoeller Juergen Hoeller
                Reporter:
                zyro zyro
                Last updater:
                Spring Issuemaster
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  27 weeks, 1 day ago