Commit cb3ed790 authored by Andreas Jung's avatar Andreas Jung

      - ZCatalog: refreshCatalog() could not be called safely from a ZEO
        client script
parent b2b44418
......@@ -49,6 +49,9 @@ Zope Changes
Bugs fixed
- ZCatalog: refreshCatalog() could not be called safely from a ZEO
client script
- Catalog.clear(): fixed handling of _length attribute (caused import
problems for some .zexp files e.g. Squishdot instances)
......
......@@ -231,7 +231,7 @@ class ZCatalog(Folder, Persistent, Implicit):
for url in urls:
obj = self.resolve_path(url)
if not obj:
if not obj and hasattr(self, 'REQUEST'):
obj = self.resolve_url(url, REQUEST)
if obj is not None:
self.catalog_object(obj, url)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment