Inconsistency with Silva Sidebar view
"Luthiger Stoll Benno" <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear developers We stumbled over a strange problem in one of our virtual sites (on our mass hosting site at the ETH): The Silva sidebar navigation seems to be out of sync and doesn't reflect the content of the publication anymore. To be more precise: The sidebar navigation in the SMI shows a content that differs both from the main content box and the content viewed in the ZMI. It displayes two additional Silva folders that don't exist and, thus, can't be deleted or manipulated. I then created a Python Script in the ZMI in this publication and called the following: return context.service_sidebar.render(container, 'tab_edit', 'contents') The content displayed was exactly the same content as in the sidebar box in the SMI. I thought that maybe the sidebar cache is the problem. Therefore, I tried to invalidate the object in the sidebar cache: context.service_sidebar.invalidate(container) However, this didn't improve the situation. I'm not sure whether SidebarService.invalidate() works correct. The code in the methode 'invalidate()' is not virtual root aware, whereas the code in SidebarService.render() takes care of possible virtual roots. Or is there an other cause of this problem? Regards, Benno _______________________________________________________________________ Benno Luthiger WEP J 11 Swiss Federal Institute of Technology Zurich CH-8092 Zurich Tel: +41 1 632 57 65 _______________________________________________________________________