[CalendarServer-changes] [10029] CalendarServer/branches/users/gaya/sharedgroups/txdav/common/ datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 18:46:18 PST 2012


Revision: 10029
          http://trac.calendarserver.org//changeset/10029
Author:   gaya at apple.com
Date:     2012-11-13 18:46:18 -0800 (Tue, 13 Nov 2012)
Log Message:
-----------
Set shareeView properties in CommonHomeChild.updateShare()

Modified Paths:
--------------
    CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py

Modified: CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py	2012-11-13 23:17:32 UTC (rev 10028)
+++ CalendarServer/branches/users/gaya/sharedgroups/txdav/common/datastore/sql.py	2012-11-14 02:46:18 UTC (rev 10029)
@@ -2181,6 +2181,9 @@
             if status:
                 shareeView._bindStatus = columnMap[bind.BIND_STATUS]
                 if shareeView._bindStatus == _BIND_STATUS_ACCEPTED:
+                    shareeView.properties()[
+                        PropertyName.fromElement(ResourceType)
+                    ] = shareeView.resourceType()
                     yield shareeView._initSyncToken()
                 elif shareeView._bindStatus == _BIND_STATUS_DECLINED:
                     shareeView._deletedSyncToken(sharedRemoval=True)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121113/2ab3c1c8/attachment.html>


More information about the calendarserver-changes mailing list