[Zope-Checkins] SVN: Zope/trunk/ - Collector #1407: changed WebDAV display name for objects

Andreas Jung andreas at andreas-jung.com
Fri Nov 26 04:01:47 EST 2004


Log message for revision 28507:
  
        - Collector #1407: changed WebDAV display name for objects
          to title_or_id() 
  

Changed:
  U   Zope/trunk/doc/CHANGES.txt
  U   Zope/trunk/lib/python/OFS/PropertySheets.py

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2004-11-25 15:15:35 UTC (rev 28506)
+++ Zope/trunk/doc/CHANGES.txt	2004-11-26 09:01:47 UTC (rev 28507)
@@ -46,6 +46,9 @@
 
     Bugs fixed
 
+      - Collector #1407: changed WebDAV display name for objects
+        to title_or_id() 
+
       - the 'trusted-proxy' directive in zope.conf now also accepts
         hostnames instead of IP addresses only (patch by Dieter Maurer)
 

Modified: Zope/trunk/lib/python/OFS/PropertySheets.py
===================================================================
--- Zope/trunk/lib/python/OFS/PropertySheets.py	2004-11-25 15:15:35 UTC (rev 28506)
+++ Zope/trunk/lib/python/OFS/PropertySheets.py	2004-11-26 09:01:47 UTC (rev 28507)
@@ -528,7 +528,7 @@
         return iso8601_date(43200.0)
 
     def dav__displayname(self):
-        return absattr(self.v_self().id)
+        return absattr(self.v_self().title_or_id())
 
     def dav__resourcetype(self):
         vself=self.v_self()



More information about the Zope-Checkins mailing list