Commit 052e9f3f authored by Thomas Desvenain's avatar Thomas Desvenain

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

parent e41582b3
...@@ -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.
......
...@@ -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