Commit 0f8c5377 authored by Thomas Desvenain's avatar Thomas Desvenain

Fixed a regression of 2.13.9 in webdav support that broke external editor feature.

parent 491a583d
...@@ -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.
......
...@@ -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 = [tag 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 = [tag 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment