Re: xslt renderer: 2 questions

Martijn Faassen <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Eric Casteleijn wrote:
>> For everybody using the renderer system now: if you upgrade to Silva 
>> HEAD, (and you really should because it makes your life easier if you 
>> are working with the renderers) you should do a refresh all on the 
>> service extensions page, because the renderer property is no longer in 
>> the metadata (since it isn't really metadata, if you want to get all 
>> philosophical, and  because not having it be metadata had endless 
>> implementation advantages.) and a refresh all will take care of that. 
>> If you have set renderers for specific objects, they will, however, 
>> switch back to the default.
> 
> I just noticed: after the upgrade the service may break in existing 
> silva roots. If you find that to be the case you can copy all existing 
> content from your existing silva root to a new one. Also, do not forget 
> to upgrade both Silva *and* SilvaDocument to the latest HEAD version.

Um, if this is the only way to do an upgrade, we need to fix this. 
Copying Silva content into a new root is very finicky indeed, and may 
break catalog references, caches, and all sorts of other things.

I think throwing away the service (service_renderer_registry) and doing 
a refresh all might work though, doesn't it?

Regards,

Martijn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.