[Commits] (morgen) Published collections are being downloaded without displayName set.

commits at osafoundation.org commits at osafoundation.org
Wed Aug 25 18:09:35 PDT 2004


Commit by: morgen
Modified files:
chandler/parcels/osaf/framework/sharing/Sharing.py 1.9 1.10

Log message:
Published collections are being downloaded without displayName set.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/sharing/Sharing.py.diff?r1=text&tr1=1.9&r2=text&tr2=1.10

Index: chandler/parcels/osaf/framework/sharing/Sharing.py
diff -u chandler/parcels/osaf/framework/sharing/Sharing.py:1.9 chandler/parcels/osaf/framework/sharing/Sharing.py:1.10
--- chandler/parcels/osaf/framework/sharing/Sharing.py:1.9	Wed Aug 25 16:30:09 2004
+++ chandler/parcels/osaf/framework/sharing/Sharing.py	Wed Aug 25 18:09:33 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.9 $"
-__date__ = "$Date: 2004/08/25 23:30:09 $"
+__version__ = "$Revision: 1.10 $"
+__date__ = "$Date: 2004/08/26 01:09:33 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -61,6 +61,11 @@
         return
 
     collection = osaf.framework.webdav.Dav.DAV(url).get( )
+
+    # @@@ Hmm, this should always have a displayName
+    if not collection.hasAttributeValue("displayName"):
+        collection.displayName = "Imported"
+
     event = Globals.parcelManager.lookup(EVENTS,
      "NewItemCollectionItem")
     event.Post({'collection':collection})



More information about the Commits mailing list