Calendar sync to another user
-
Hello,
dont know if i hit the point with the title… szenario:
i’ve got user1 and user2.
user1 opens user2’s calendar via KOE Shared folders.
Reminders are off.user3 invites user2 in a meeting.
user2 accepts meeting. (not required - even without accepted there is a copy in user1’s Calendar )
user1 has a non accepted copy in his own calendar. (like described in the following post, its a local copy - cant be seen from another pc - not via shared folder(KOE) nor webapp)KOE-Log Item entry:
<item xsi:type="SOAP-ENC:Struct"> <store xsi:type="xsd:string">hwmeyer</store> <folderid xsi:type="xsd:string">f0bc882a8e0f410aa9765bd325976fe7cb6e00000000</folderid> <parentid xsi:type="xsd:string">0</parentid> <syncfolderid xsi:type="xsd:string">S5de74</syncfolderid> <name xsi:type="xsd:string">Kalender - hwmeyer</name> <type xsi:type="xsd:string">13</type> <origin xsi:type="xsd:string">shared</origin> <flags xsi:type="xsd:string">0</flags> <readable xsi:type="xsd:boolean">true</readable> <writeable xsi:type="xsd:boolean">true</writeable> </item>
2017/06/08 13:11:18.548 (9,): Debug: SharedFoldersManager: UpdateReminders: SharedFolder:S5de74 (Kalender - hwmeyer) 2017/06/08 13:11:18.548 (9,): Trace: SharedFolders: Setting reminders for folder False: S5de74
The Shared Folder “Kalender - hwmeyer” wont get a change update but:
2017/06/08 13:15:16.703 (1,VSTA_Main): Debug: ZPushFolder: Folder changed in user.1@domain.de: Kalender 2017/06/08 13:15:16.703 (1,VSTA_Main): Trace: ZPushWatcher: Folder changed: Kalender 2017/06/08 13:15:16.734 (1,VSTA_Main): Trace: ZPushFolder: New item Kalender: 00000000F07AEEE58AAB2E468EEEF10A0E2D9CB8070008F23585EB571D4F81C2213F7AAD7031000000000000000008F23585EB571D4F81C2213F7AAD703100000000023F0000 2017/06/08 13:15:16.734 (1,VSTA_Main): Trace: ZPushFolder: Changed item Kalender 2017/06/08 13:15:16.734 (2,): Warning: AppointmentItemWrapper: Undisposed wrapper: at Acacia.Stubs.OutlookWrappers.ComWrapper`1..ctor(ItemType item) at Acacia.Stubs.OutlookWrappers.Mapping.CreateWrapper(Object o, Boolean mustRelease) at Acacia.Stubs.OutlookWrappers.Mapping.WrapOrDefault[Type](Object o, Boolean mustRelease) at Acacia.Utils.MailEvents.MailEventHooker.HandleBeforeDelete(Object item, Boolean& cancel) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Runtime.InteropServices.ComEventsMethod.DelegateWrapper.Invoke(Object[] args) at System.Runtime.InteropServices.ComEventsMethod.Invoke(Object[] args) at System.Runtime.InteropServices.ComEventsSink.System.Runtime.InteropServices.NativeMethods.IDispatch.Invoke(Int32 dispid, Guid& riid, Int32 lcid, INVOKEKIND wFlags, DISPPARAMS& pDispParams, IntPtr pvarResult, IntPtr pExcepInfo, IntPtr puArgErr) 2017/06/08 13:15:16.749 (2,): Warning: AppointmentItemWrapper: Undisposed wrapper: at Acacia.Stubs.OutlookWrappers.ComWrapper`1..ctor(ItemType item) at Acacia.Stubs.OutlookWrappers.Mapping.CreateWrapper(Object o, Boolean mustRelease) at Acacia.Stubs.OutlookWrappers.Mapping.WrapOrDefault[Type](Object o, Boolean mustRelease) at Acacia.Utils.MailEvents.MailEventHooker.HandleBeforeDelete(Object item, Boolean& cancel) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Runtime.InteropServices.ComEventsMethod.DelegateWrapper.Invoke(Object[] args) at System.Runtime.InteropServices.ComEventsMethod.Invoke(Object[] args) at System.Runtime.InteropServices.ComEventsSink.System.Runtime.InteropServices.NativeMethods.IDispatch.Invoke(Int32 dispid, Guid& riid, Int32 lcid, INVOKEKIND wFlags, DISPPARAMS& pDispParams, IntPtr pvarResult, IntPtr pExcepInfo, IntPtr puArgErr)
The user1 Kalender gets a updated. Via MAPI (WebApp) there is no entry.
Z-Push-log:
08/06/2017 13:15:14 [24152] [ INFO] [USER1] cmd='Ping' memory='16.34 MiB/19.00 MiB' time='124.68s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='123s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:16 [ 2128] [ INFO] [USER1] cmd='Sync' memory='17.24 MiB/20.00 MiB' time='1.45s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:19 [12043] [ INFO] [USER1] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 3540 seconds) 08/06/2017 13:15:20 [ 2128] [ INFO] [USER1] cmd='Sync' memory='15.66 MiB/18.25 MiB' time='3.26s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:22 [ 2128] [ INFO] [USER1] cmd='Sync' memory='13.90 MiB/16.25 MiB' time='1.71s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:48 [12043] [ INFO] [USER1] cmd='Ping' memory='16.32 MiB/19.00 MiB' time='31.99s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='28s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:50 [26286] [ INFO] [USER1] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 3540 seconds) 08/06/2017 13:15:50 [26286] [ INFO] [USER1] cmd='Ping' memory='15.63 MiB/18.25 MiB' time='1.98s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:51 [32532] [ INFO] [USER1] cmd='Sync' memory='15.74 MiB/18.50 MiB' time='2.58s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:15:56 [32532] [ INFO] [USER1] cmd='Sync' memory='15.74 MiB/18.50 MiB' time='4.76s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:16:00 [32532] [ INFO] [USER1] cmd='Sync' memory='13.90 MiB/16.25 MiB' time='3.83s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:16:02 [ 3604] [ INFO] [USER1] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 3540 seconds) 08/06/2017 13:16:10 [ 3604] [ INFO] [USER1] cmd='Ping' memory='16.34 MiB/19.00 MiB' time='10.01s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='7s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:16:13 [12043] [ INFO] [USER1] cmd='Sync' memory='15.89 MiB/18.50 MiB' time='2.32s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:16:17 [12043] [ INFO] [USER1] cmd='Sync' memory='15.74 MiB/18.50 MiB' time='3.64s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:16:19 [12043] [ INFO] [USER1] cmd='Sync' memory='13.90 MiB/16.25 MiB' time='2.02s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:16:20 [25249] [ INFO] [USER1] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 3540 seconds) 08/06/2017 13:16:57 [ 2412] [ INFO] [USER1] Announcing latest AS version to device: 12.0,12.1,14.0 08/06/2017 13:16:57 [ 2412] [ INFO] [USER1] WebserviceDevice::AdditionalFolderList(): found 81 folders for device '6e6e7ed704494ba59538cfe95404c848' of user 'USER1' 08/06/2017 13:17:01 [ 2412] [ INFO] [USER1] cmd='WebserviceDevice' memory='11.40 MiB/14.00 MiB' time='3.51s' devType='webservice' devId='webservice' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:03 [28168] [ INFO] [hwmeyer] Webservice::HandleWebservice('-102'): user 'USER1' executing action for user 'hwmeyer' 08/06/2017 13:17:10 [ 3581] [ INFO] [USER1] Announcing latest AS version to device: 12.0,12.1,14.0 08/06/2017 13:17:10 [ 3581] [ INFO] [USER1] WebserviceDevice::AdditionalFolderSetList(): set '5' folders for device '6e6e7ed704494ba59538cfe95404c848' of user 'USER1': true 08/06/2017 13:17:10 [ 3581] [ INFO] [USER1] cmd='WebserviceDevice' memory='11.41 MiB/14.00 MiB' time='0.37s' devType='webservice' devId='webservice' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:11 [ 3587] [ INFO] [USER1] Announcing latest AS version to device: 12.0,12.1,14.0 08/06/2017 13:17:11 [ 3587] [ INFO] [USER1] WebserviceDevice::AdditionalFolderList(): found 81 folders for device '6e6e7ed704494ba59538cfe95404c848' of user 'USER1' 08/06/2017 13:17:14 [12043] [ INFO] [USER1] cmd='FolderSync' memory='14.61 MiB/17.00 MiB' time='3.16s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:15 [ 3587] [ INFO] [USER1] cmd='WebserviceDevice' memory='11.40 MiB/14.00 MiB' time='4.65s' devType='webservice' devId='webservice' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:15 [12043] [ INFO] [USER1] cmd='Sync' memory='13.88 MiB/16.25 MiB' time='1.58s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:15 [ 2412] [ INFO] [USER1] cmd='Settings' memory='11.67 MiB/14.25 MiB' time='0.35s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:19 [32302] [ INFO] [USER1] Announcing latest AS version to device: 12.0,12.1,14.0 08/06/2017 13:17:19 [32302] [ INFO] [USER1] WebserviceDevice::AdditionalFolderList(): found 81 folders for device '6e6e7ed704494ba59538cfe95404c848' of user 'USER1' 08/06/2017 13:17:24 [32302] [ INFO] [USER1] cmd='WebserviceDevice' memory='11.40 MiB/14.00 MiB' time='5.47s' devType='webservice' devId='webservice' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:33 [25249] [ INFO] [USER1] StatusException: SyncCollections->CheckForChanges(): HierarchySync required. - code: 4 - file: /usr/share/z-push/lib/core/synccollections.php:561 08/06/2017 13:17:34 [25249] [ INFO] [USER1] cmd='Ping' memory='15.27 MiB/17.75 MiB' time='74.82s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='73s' version='2.3.6+0' method='POST' httpcode='200' 08/06/2017 13:17:35 [32302] [ INFO] [USER1] SyncCollections->CheckForChanges(): Waiting for store changes... (lifetime 3540 seconds) 08/06/2017 13:17:36 [28168] [ INFO] [hwmeyer] Webservice::HandleWebservice('-102'): user 'USER1' executing action for user 'hwmeyer' 08/06/2017 13:17:37 [26286] [ INFO] [USER1] cmd='FolderSync' memory='13.32 MiB/16.00 MiB' time='2.76s' devType='WindowsOutlook' devId='6e6e7ed704494ba59538cfe95404c848' getUser='USER1' from='172.16.126.72' idle='0s' version='2.3.6+0' method='POST' httpcode='200'
//EDIT: User1 has several Calendar mapped. Some with Reminders on, some with off. - Just this one causing this strange behaviour
Coffee_is_life
-
//Update:
szenario 2 - issue related:
anna has bobs’s mapped calender and inbox
bob get’s an inviteed from Joe
anna accepts from bob’s inbox
Joe gets accepted message from ANNA’s account. (maybe related to send-as feature - same error in log (below) )The item is seen in Joe’s calendar with bob as invited member (not accepted).
The Item is shown locally in anna’s calendar
The Item is NOT visible(or existent) in bob’s calendar (remember, he was originally invited)
If i add anna’s calender which has the item locally, via webapp or shared folder i cant see it.Tested with around 8 users here and everytime the same.
in z-push-log, i get this:
/usr/share/z-push/backend/kopano/mapiprovider.php:257 mapi_zarafa_getuser_by_name(): Unable to resolve the user: 8004010F (2)
Coffee_is_life
-
in your first post: does the user also have the inbox folder of the invited user (user2) opened?
-
@fbartels said in Calendar sync to another user:
in your first post: does the user also have the inbox folder of the invited user (user2) opened?
yes - and in this scenario its the secretary who will accept this invitation in place of the boss.
And the secretary gets the local copy. The boss gets nothing and im getting yelled at :)
Coffee_is_life
-
Hi @Coffee_is_life ,
I have created an issue internally for us to reproduce this issue. https://jira.kopano.io/browse/KOE-122
-
Thanks @fbartels ,
i hope this cam be reproduced…
if you need some more info - you know how to find me :)
Coffe_is_life