Re: Silva and nested local sites

Sylvain Viollon <[email protected]> Thu, 18 Aug 2011 09:24:51 +0200
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
 Hello,

Op 17 aug 2011, om 19:15 heeft Andrew Altepeter het volgende geschreven:


[...]

> Any thoughts or comments on why this is the case?  Looking in Silva 3.0,
> this has not been addressed yet.  Since the method is supposed to return the
> Silva Root, can't it just call self.context.get_silva_root() (finding the
> root by acquisition)?
> 
> 

   I guess it should be getSIte().get_root(), because this adapter only takes request, and no context.

   I check this later today.


   Thank you for this report,

   Regards,

   Sylvain


-- 
Sylvain Viollon -- Infrae
t +31 10 243 7051 -- http://infrae.com
Hoevestraat 10 3033GC Rotterdam -- The Netherlands