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
0f8c5377
Commit
0f8c5377
authored
Sep 28, 2011
by
Thomas Desvenain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a regression of 2.13.9 in webdav support that broke external editor feature.
parent
491a583d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
doc/CHANGES.rst
doc/CHANGES.rst
+8
-6
src/webdav/Resource.py
src/webdav/Resource.py
+2
-2
No files found.
doc/CHANGES.rst
View file @
0f8c5377
...
@@ -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 of 2.13.9 in webdav support that broke external editor feature.
- `undoMultiple` was still broken as transactions were not undone in the proper
- `undoMultiple` was still broken as transactions were not undone in the proper
order : tids were stored and retrieved as dictionary keys.
order : tids were stored and retrieved as dictionary keys.
...
...
src/webdav/Resource.py
View file @
0f8c5377
...
@@ -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