[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/Document.py - use failIfLocked only in non-WebDAV code

Yvo Schubbe y.2011 at wcm-solutions.de
Mon Jul 18 06:16:18 EDT 2011


Log message for revision 122276:
  - use failIfLocked only in non-WebDAV code

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/Document.py

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/Document.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/Document.py	2011-07-18 09:54:52 UTC (rev 122275)
+++ Products.CMFDefault/trunk/Products/CMFDefault/Document.py	2011-07-18 10:16:17 UTC (rev 122276)
@@ -371,13 +371,6 @@
         self.dav__init(REQUEST, RESPONSE)
         self.dav__simpleifhandler(REQUEST, RESPONSE, refresh=1)
 
-        try:
-            self.failIfLocked()
-        except ResourceLockedError, msg:
-            transaction.abort()
-            RESPONSE.setStatus(423)
-            return RESPONSE
-
         body = REQUEST.get('BODY', '')
         if REQUEST.get_header('Content-Type', '') == 'text/html':
             format = 'html'



More information about the checkins mailing list