Commit e3bfa8ed authored by Hanno Schlichting's avatar Hanno Schlichting

Protect ZCTextIndex's clear method against storing Acquisition wrappers.

parent 147bdfb2
...@@ -20,6 +20,8 @@ Features Added ...@@ -20,6 +20,8 @@ Features Added
Bugs Fixed Bugs Fixed
++++++++++ ++++++++++
- Protect ZCTextIndex's clear method against storing Acquisition wrappers.
- LP #195761: fixed ZMI XML export / import and restored it to the UI. - LP #195761: fixed ZMI XML export / import and restored it to the UI.
- MailHost should fall back to HELO when EHLO fails. - MailHost should fall back to HELO when EHLO fails.
......
...@@ -253,7 +253,7 @@ class ZCTextIndex(Persistent, Implicit, SimpleItem): ...@@ -253,7 +253,7 @@ class ZCTextIndex(Persistent, Implicit, SimpleItem):
del self._v_lexicon del self._v_lexicon
except (AttributeError, KeyError): except (AttributeError, KeyError):
pass pass
self.index = self._index_factory(self.getLexicon()) self.index = self._index_factory(aq_base(self.getLexicon()))
## User Interface Methods ## ## User Interface Methods ##
......
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