Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e3bfa8ed
Commit
e3bfa8ed
authored
Feb 18, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Protect ZCTextIndex's clear method against storing Acquisition wrappers.
parent
147bdfb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/Products/ZCTextIndex/ZCTextIndex.py
src/Products/ZCTextIndex/ZCTextIndex.py
+1
-1
No files found.
doc/CHANGES.rst
View file @
e3bfa8ed
...
...
@@ -20,6 +20,8 @@ Features Added
Bugs Fixed
++++++++++
- Protect ZCTextIndex's clear method against storing Acquisition wrappers.
- LP #195761: fixed ZMI XML export / import and restored it to the UI.
- MailHost should fall back to HELO when EHLO fails.
...
...
src/Products/ZCTextIndex/ZCTextIndex.py
View file @
e3bfa8ed
...
...
@@ -253,7 +253,7 @@ class ZCTextIndex(Persistent, Implicit, SimpleItem):
del
self
.
_v_lexicon
except
(
AttributeError
,
KeyError
):
pass
self
.
index
=
self
.
_index_factory
(
self
.
getLexicon
(
))
self
.
index
=
self
.
_index_factory
(
aq_base
(
self
.
getLexicon
()
))
## User Interface Methods ##
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment