[CalendarServer-changes] [14539] CalendarServer/branches/users/sagen/trashcan-5/txdav/common/ datastore/sql.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 9 16:43:15 PDT 2015
Revision: 14539
http://trac.calendarserver.org//changeset/14539
Author: sagen at apple.com
Date: 2015-03-09 16:43:15 -0700 (Mon, 09 Mar 2015)
Log Message:
-----------
When creating a child, add to _children
Modified Paths:
--------------
CalendarServer/branches/users/sagen/trashcan-5/txdav/common/datastore/sql.py
Modified: CalendarServer/branches/users/sagen/trashcan-5/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/sagen/trashcan-5/txdav/common/datastore/sql.py 2015-03-09 23:34:24 UTC (rev 14538)
+++ CalendarServer/branches/users/sagen/trashcan-5/txdav/common/datastore/sql.py 2015-03-09 23:43:15 UTC (rev 14539)
@@ -3541,6 +3541,9 @@
raise HomeChildNameNotAllowedError(name)
child = yield self._childClass.create(self, name, externalID=externalID)
+ key = self._childrenKey(False)
+ self._children[key][name] = child
+ self._children[key][child._resourceID] = child
returnValue(child)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150309/b7799459/attachment.html>
More information about the calendarserver-changes
mailing list