[CalendarServer-dev] Migrating GUIDs & Tasks Support

Rahul Amaram amaramrahul at users.sourceforge.net
Mon Apr 14 11:02:56 PDT 2014


On Monday 14 April 2014 11:25 PM, Morgen Sagen wrote:
> Sorry, I didn’t explain the situation clearly enough:  XML files with 
> <guid> elements containing values (such as “admin”) which are not in 
> GUID form are *still allowed* in the 5.x codebase.  It will not become 
> an issue until *6.x* in which the code is stricter about GUID values, 
> at which point we will have an upgrade solution.
Ok. So, I believe I can go ahead and comment the line where we are doing:

         assert len(name) > 4, "Directory record has an invalid GUID: 
%r" % (
            name,)

Any idea on what could this break? if I don't comment out this line, xml 
records with guid lesser than 5 characters such as "test" are considered 
invalid.

Also, could you tell me the direct url to be added for accessing tasks? 
For ex. for calendar I add 
http://<calendarserver>:8008/calendars/users/<user>/calendar/?


Thanks,
Rahul.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-dev/attachments/20140414/a5ccc2ff/attachment.html>


More information about the calendarserver-dev mailing list