Hi,

on the branch release/CalendarServer-9.1 I have run the podA & podB server 
setup and tested the migration of user01 from podA to podB. Before migrating, I 
share user01's calendar to user02. After the migration, I observe that the 
shared calendar is partly broken: user02 on podA still views the calendar as 
shared from user01, but user01 seems to have lost the shared-owner information 
about this calendar. I think I might have figured out the problem: The 'shared' 
value in the message column in the calendar_bind table is not copied from podA 
to podB during user01 migration, which is confirmed by the shared-owner 
information being migrated if the attached modification is done.

Best regards,


----------------------------
Kristoffer Møllerhøj
Systems Developer
One.com
----------------------------

diff --git a/txdav/caldav/datastore/sql.py b/txdav/caldav/datastore/sql.py
index f2ee301..1f98bb2 100644
--- a/txdav/caldav/datastore/sql.py
+++ b/txdav/caldav/datastore/sql.py
@@ -1258,6 +1258,7 @@ class Calendar(CommonHomeChild):
         """
 
         return (
+            cls._bindSchema.MESSAGE,
             cls._bindSchema.TRANSP,
             cls._bindSchema.ALARM_VEVENT_TIMED,
             cls._bindSchema.ALARM_VEVENT_ALLDAY,
@@ -1275,6 +1276,7 @@ class Calendar(CommonHomeChild):
         """
 
         return (
+            "_message",
             "_transp",
             "_alarm_vevent_timed",
             "_alarm_vevent_allday",
_______________________________________________
calendarserver-dev mailing list
calendarserver-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-dev

Reply via email to