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

Register environment in all bean factories in a hierarchy

    XMLWordPrintable

    Details

    • Last commented by a User:
      true

      Description

      Attached maven project to demonstrate bug.

      Properties files that are scanned are not used in the resolution of key lookup later in the application lifecycle. The property file is missing from the list of available property sources.

      Bug is limited to 3.1.2 (code functions as expected in 3.1.1) and to those projects that use the ContextLoaderListener (removing it from the web.xml causes the value to be found in the properties file).

      I have yet to find the exact root cause or a workaround (removing the ContextLoaderListener is not an option).

        Attachments

          Activity

            People

            Assignee:
            cbeams Chris Beams
            Reporter:
            schultz.patrick@gmail.com Patrick Schultz
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 24 weeks, 1 day ago