[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26446#action_26446
 ] 

Grégory Joseph commented on MAGNOLIA-3059:
------------------------------------------

Please link to appropriate issue. I believe this is related to the proxying of 
observed components ?
Any chance you could provide a unit(-ish) test?

> 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
>          Components: core
>    Affects Versions: 4.3 M1
>            Reporter: Jan Haderka
>            Assignee: Philipp Bärfuss
>            Priority: Critical
>             Fix For: 4.3
>
>
> 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/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to