[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka updated MAGNOLIA-3059:
----------------------------------

    Fix Version/s: 4.5.7
                       (was: 4.3.x)

I think this issue should be gone by now. Needs to be re-evaluated before 
closing as obsolete.

> Unable to replace implementation of the dynamically loaded class with its 
> super class
> -------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-3059
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3059
>             Project: Magnolia
>          Issue Type: Bug
>      Security Level: Public
>          Components: core
>    Affects Versions: 4.3
>            Reporter: Jan Haderka
>            Assignee: Philipp Bärfuss
>            Priority: Critical
>             Fix For: 4.5.7
>
>
> Since the changes made to {{FactoryUtil}} and mechanism of class 
> instantiation it is no longer possible to replace class implementation with 
> its superclass at runtime.
> To reproduce the issue:
> # extend some existing class, e.g. {{URI2RepositoryManager}}
> # configure Magnolia to use extending class (in this case set 
> {{/server/URI2RepositoryMapping/class}} to 
> {{full.name.of.ExtendedURI2RepositoryManager}})
> # check that everything works fine with the extending class (e.g. try to 
> display some page from website)
> # restart Magnolia to make to have it started with extending class
> # repeat step 3) (to see that everything still works)
> # change {{URI2RepositoryManager}} configuration back to use the original 
> {{URI2RepositoryManager}} implementation
> # try to repeat step 3) ==> page loading fails with {{ClassCastException}}

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

       


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to