[Silva-general] Problem closing Silva Publications with Silva 1.4.1

Guido Wesdorp guido at infrae.com
Wed Nov 30 11:07:04 CET 2005

Guido Wesdorp wrote:
> I'll add an issue about this, hopefully that means it'll be fixed in the 
> next release.
Had a bit of time to spare so fixed the problem. It turned out the code 
to display a message was there after all, and that was actually what 
caused the problem: when retrieving the name of the publication for the 
message, is_default() was called, which exists on Content objects, but 
not on Containers.

Added the method to SilvaObject now, which makes that it's available on 
all Silva objects, so the problem should never occur anymore. To fix 
your local instance, either do a CVS checkout of the Silva-1_4-branch 
branch (see the website for instructions), wait for the next release, or 
add the method yourself (see 
http://cvs.infrae.com/Silva/SilvaObject.py?r1=1.119&r2= for a 



More information about the Silva-general mailing list