[CalendarServer-changes] [5039] CalendarServer/trunk/twistedcaldav/directory/principal.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Feb 3 15:28:56 PST 2010
Revision: 5039
http://trac.macosforge.org/projects/calendarserver/changeset/5039
Author: sagen at apple.com
Date: 2010-02-03 15:28:55 -0800 (Wed, 03 Feb 2010)
Log Message:
-----------
Fix for <rdar://problem/7589446> PrincipalURL should be derived from UID not GUID
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/principal.py
Modified: CalendarServer/trunk/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/principal.py 2010-02-03 23:19:54 UTC (rev 5038)
+++ CalendarServer/trunk/twistedcaldav/directory/principal.py 2010-02-03 23:28:55 UTC (rev 5039)
@@ -535,10 +535,11 @@
assert record is not None, "Principal must have a directory record"
- url = joinURL(parent.principalCollectionURL(), record.guid) + slash
self.record = record
self.parent = parent
+
+ url = joinURL(parent.principalCollectionURL(), self.principalUID()) + slash
self._url = url
self._alternate_urls = tuple([
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100203/b1abcc3e/attachment-0001.html>
More information about the calendarserver-changes
mailing list