[Geoserver-devel] [jira] Created: (GEOS-2178) asking for an extension with a custom ApplicationContext returns the cached value from the internal ApplicationContext

asking for an extension with a custom ApplicationContext returns the cached value from the internal ApplicationContext
----------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-2178
                 URL: http://jira.codehaus.org/browse/GEOS-2178
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.0-RC1
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 1.7.0-RC2

asking for an extension with a custom spring ApplicationContext returns the cached value from the internal ApplicationContext

GeoServerExtensions.extensions(Class, ApplicationContext) does not look into the argument app context if its not the same than the internal static one. Also, if passing a custom app context the extensions found on it shouldn't be stored in the static cache.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira