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
7b1ad1d2
Commit
7b1ad1d2
authored
Oct 22, 2001
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zope installations upgraded from pre-2.4 installations
did not show the Webdav LockManager entry in the control panel
parent
b74e6c1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
doc/CHANGES.txt
doc/CHANGES.txt
+3
-0
lib/python/App/ApplicationManager.py
lib/python/App/ApplicationManager.py
+19
-1
No files found.
doc/CHANGES.txt
View file @
7b1ad1d2
...
...
@@ -6,6 +6,9 @@ Zope Changes
Features Added
- Zope installations upgraded from pre-2.4 installations
did not show the WebDAV LockManager entry in the control panel.
- "requestprofiler.py" script in utilities now does better analysis,
including:
...
...
lib/python/App/ApplicationManager.py
View file @
7b1ad1d2
...
...
@@ -83,7 +83,7 @@
#
##############################################################################
__doc__
=
"""System management components"""
__version__
=
'$Revision: 1.7
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.7
6
$'
[
11
:
-
2
]
import
sys
,
os
,
time
,
string
,
Globals
,
Acquisition
,
os
,
Undo
...
...
@@ -491,3 +491,21 @@ class ApplicationManager(Folder,CacheManager):
def
getCLIENT_HOME
(
self
):
return
CLIENT_HOME
def
objectIds
(
self
,
spec
=
None
):
""" this is a patch for pre-2.4 Zope installations. Such
installations don't have an entry for the WebDAV LockManager
introduced in 2.4.
"""
meta_types
=
map
(
lambda
x
:
x
.
get
(
'meta_type'
,
None
)
,
self
.
_objects
)
if
not
self
.
DavLocks
.
meta_type
in
meta_types
:
lst
=
list
(
self
.
_objects
)
lst
.
append
(
{
'id'
:
'DavLocks'
,
\
'meta_type'
:
self
.
DavLocks
.
meta_type
})
self
.
_objects
=
tuple
(
lst
)
return
Folder
.
objectIds
(
self
,
spec
)
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