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
052e9f3f
Commit
052e9f3f
authored
Sep 28, 2011
by
Thomas Desvenain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a regression in webdav support that broke external editor feature.
parent
e41582b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
doc/CHANGES.rst
doc/CHANGES.rst
+2
-0
src/webdav/Resource.py
src/webdav/Resource.py
+2
-2
No files found.
doc/CHANGES.rst
View file @
052e9f3f
...
@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/releases/.
...
@@ -11,6 +11,8 @@ http://docs.zope.org/zope2/releases/.
Bugs Fixed
Bugs Fixed
++++++++++
++++++++++
- Fixed a regression in webdav support that broke external editor feature.
- Restore ability to undo multiple transactions from the ZMI by using the
- Restore ability to undo multiple transactions from the ZMI by using the
`undoMultiple` API.
`undoMultiple` API.
...
...
src/webdav/Resource.py
View file @
052e9f3f
...
@@ -156,7 +156,7 @@ class Resource(Base, LockableItem):
...
@@ -156,7 +156,7 @@ class Resource(Base, LockableItem):
if
not
tag
.
resource
:
if
not
tag
.
resource
:
# There's no resource (url) with this tag
# There's no resource (url) with this tag
tag_list
=
map
(
tokenFinder
,
tag
.
list
)
tag_list
=
map
(
tokenFinder
,
tag
.
list
)
wehave
=
[
t
ag
for
tag
in
tag_list
if
self
.
wl_hasLock
(
tag
)]
wehave
=
[
t
for
t
in
tag_list
if
self
.
wl_hasLock
(
t
)]
if
not
wehave
:
continue
if
not
wehave
:
continue
if
tag
.
NOTTED
:
continue
if
tag
.
NOTTED
:
continue
...
@@ -167,7 +167,7 @@ class Resource(Base, LockableItem):
...
@@ -167,7 +167,7 @@ class Resource(Base, LockableItem):
elif
urlbase
(
tag
.
resource
)
==
url
:
elif
urlbase
(
tag
.
resource
)
==
url
:
resourcetagged
=
1
resourcetagged
=
1
tag_list
=
map
(
tokenFinder
,
tag
.
list
)
tag_list
=
map
(
tokenFinder
,
tag
.
list
)
wehave
=
[
t
ag
for
tag
in
tag_list
if
self
.
wl_hasLock
(
tag
)]
wehave
=
[
t
for
t
in
tag_list
if
self
.
wl_hasLock
(
t
)]
if
not
wehave
:
continue
if
not
wehave
:
continue
if
tag
.
NOTTED
:
continue
if
tag
.
NOTTED
:
continue
...
...
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