Update :D

The SiteMergeFilter seems to be executed two times

The first time I get a Site object from Site
Site$$EnhancerByCGLIB$$cbee849d with error.

The first time 
info.magnolia.objectfactory.guice.GuiceComponentProvider.getImplementation(Class<T>)
 gets the class Site.class, the second time the proxied Site.class

So I assume the SiteMergeFilter cant just call

[code]
final Site fakeSiteWithProperName = 
Components.newInstance(currentSite.getClass());
[/code]

but
[code]
final Site fakeSiteWithProperName = 
Components.newInstance(unproxy(currentSite.getClass()));
[/code]





The real problem: Is there a quick fix? :-)

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=eb86c05f-84f7-43e5-9b5a-e041b4efa8d2


----------------------------------------------------------------
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