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
e460a6ca
Commit
e460a6ca
authored
Jul 02, 2005
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector #1826: manage_convertIndexes() did not handle PathIndexes properly
parent
52c5f09c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
doc/CHANGES.txt
doc/CHANGES.txt
+6
-6
lib/python/Products/ZCatalog/ZCatalog.py
lib/python/Products/ZCatalog/ZCatalog.py
+8
-4
No files found.
doc/CHANGES.txt
View file @
e460a6ca
...
@@ -38,18 +38,18 @@ Zope Changes
...
@@ -38,18 +38,18 @@ Zope Changes
- Fixed CMFBTreeFolder for CMF 1.5+
- Fixed CMFBTreeFolder for CMF 1.5+
- WebDAV COPY and MOVE did not call '_notifyOfCopyTo' and
- WebDAV COPY and MOVE did not call '_notifyOfCopyTo' and '_postCopy'
'_postCopy' hooks like it was done in
hooks like it was done in OFS.CopySupport. Additionally added
OFS.CopySupport. Additionally added
'manage_changeOwnershipType' to make MOVE behave even closer to
'manage_changeOwnershipType' to make MOVE behave even closer
OFS.CopySupport.
to OFS.CopySupport.
- Collector #1548: Fix 'httplib' usage in ZPublisher.Client.
- Collector #1548: Fix 'httplib' usage in ZPublisher.Client.
- Collector #1808: manage_convertIndexes no longer tries to change the
- Collector #1808: manage_convertIndexes no longer tries to change the
index types causing some trouble with CMF.
index types causing some trouble with CMF.
- manage_convertIndexes did not treat DateRangeIndexes properly
- manage_convertIndexes did not treat DateRangeIndexes and PathIndexes
properly.
Zope 2.8.0 (2005/06/11)
Zope 2.8.0 (2005/06/11)
...
...
lib/python/Products/ZCatalog/ZCatalog.py
View file @
e460a6ca
...
@@ -927,10 +927,14 @@ class ZCatalog(Folder, Persistent, Implicit):
...
@@ -927,10 +927,14 @@ class ZCatalog(Folder, Persistent, Implicit):
for
idx
in
self
.
Indexes
.
objectValues
():
for
idx
in
self
.
Indexes
.
objectValues
():
bases
=
[
str
(
name
)
for
name
in
idx
.
__class__
.
__bases__
]
bases
=
[
str
(
name
)
for
name
in
idx
.
__class__
.
__bases__
]
found
=
False
found
=
False
for
base
in
bases
:
if
'UnIndex'
in
base
:
if
idx
.
meta_type
==
'PathIndex'
:
found
=
True
found
=
True
break
else
:
for
base
in
bases
:
if
'UnIndex'
in
base
:
found
=
True
break
if
found
:
if
found
:
idx_type
=
idx
.
meta_type
idx_type
=
idx
.
meta_type
...
...
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