View Issue Details

IDProjectCategoryView StatusLast Update
0004402SOGoActiveSyncpublic2019-07-18 11:44
ReporterCEH MIS Assigned Toludovic  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformAndroidOSAndroidOS Version7.0
Product Version3.2.10 
Summary0004402: Calendar Sync Problem For Android
Description

If the user accept a meeting on his Android phone, the status
will show as accepted, but after a while the status will change back to
'waiting for confirmation'. If the user accept the meeting on his iPhone
or ThunderBird Lightning then we will not have this problem.

Furthermore, if user using Android to create a new event and invite several attendees, the organizer's name will be appeared in attendees list as well. End up, organizer will received an invitation email too. This will not happen on iPhone or ThunderBird Lightning.

Steps To Reproduce

If the user accept a meeting on his Android phone, the status
will show as accepted, but after a while the status will change back to
'waiting for confirmation'. If the user accept the meeting on his iPhone
or ThunderBird Lightning then we will not have this problem.

Furthermore, if user using Android to create a new event and invite several attendees, the organizer's name will be appeared in attendees list as well. End up, organizer will received an invitation email too. This will not happen on iPhone or ThunderBird Lightning.

TagsNo tags attached.

Activities

tfu

tfu

2018-02-13 20:35

reporter   ~0012598

Can you please reproduce the problem (status change) with SOGoEASDebugEnabled = YES.

CEH MIS

CEH MIS

2018-02-14 01:35

reporter  

sogo_log.txt (10,583 bytes)   
Feb 14 09:11:08 sogod [1911]: <0x0x55acbd0156a0[SOGoActiveSyncDispatcher]> EAS - response for device androidc1800513280: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Sync xmlns="AirSync:">
 <Collections>
  <Collection>
   <Class>Email</Class>
   <SyncKey>105-265</SyncKey>
   <CollectionId>mail%2Ff8c10638eddb4d5a390d00005ab3750a</CollectionId>
   <Status>1</Status>
   <Commands>
    <Add>
     <ServerId>105</ServerId>
     <ApplicationData>
      <To xmlns="Email:">&quot;postmaster&quot; &lt;postmaster@mydomain.com&gt;, &quot;jenn@mydomain.com&quot; &lt;jenn@mydomain.com&gt;</To>
      <From xmlns="Email:">&quot;Jenn&quot; &lt;jenn@mydomain.com&gt;</From>
      <Subject xmlns="Email:">Test event frm android</Subject>
      <ThreadTopic xmlns="Email:">Test event frm android</ThreadTopic>
      <DateReceived xmlns="Email:">2018-02-14T01:11:08.000Z</DateReceived>
      <DisplayTo xmlns="Email:">jenn@mydomain.com</DisplayTo>
      <Importance xmlns="Email:">1</Importance>
      <Read xmlns="Email:">0</Read>
      <MessageClass xmlns="Email:">IPM.Schedule.Meeting.Request</MessageClass>
      <MeetingRequest xmlns="Email:">
       <AllDayEvent>0</AllDayEvent>
       <StartTime>2018-02-21T01:30:00.000Z</StartTime>
       <DTStamp>2018-02-14T01:11:08.000Z</DTStamp>
       <EndTime>2018-02-21T02:30:00.000Z</EndTime>
       <InstanceType>0</InstanceType>
       <Organizer/>
       <ResponseRequested>0</ResponseRequested>
       <Sensitivity>0</Sensitivity>
       <BusyStatus>2</BusyStatus>
       <TimeZone>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAEAAAAAAAAAxP///w==</TimeZone>
       <DisallowNewTimeProposal>1</DisallowNewTimeProposal>
       <GlobalObjId>BAAAAIIA4AB0xbcQGoLgCAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAHZDYWwtVWlkAQAAADUyNjhmM2FiLTJkOTQtNGY5MS1hMGU4LWFkYTJjNmM0NzkyOQ==</GlobalObjId>
       <MeetingMessageType xmlns="Email2:">1</MeetingMessageType>
      </MeetingRequest>
      <ContentClass xmlns="Email:">urn:content-classes:calendarmessage</ContentClass>
      <InternetCPID xmlns="Email:">65001</InternetCPID>
      <Body xmlns="AirSyncBase:">
       <Type>4</Type>
       <Truncated>0</Truncated>
       <Preview/>
       <Data>Return-Path: &lt;jenn@mydomain.com&gt;
Delivered-To: jenn@mydomain.com
Received: from mail.mydomain.com (localhost [127.0.0.1])
	by mail.mydomain.com (Postfix) with ESMTP id 7B268162DEF
	for &lt;jenn@mydomain.com&gt;; Wed, 14 Feb 2018 09:10:40 +0800 (+08)
Authentication-Results: mail.mydomain.com (amavisd-new);
	dkim=pass (1024-bit key) reason=&quot;pass (just generated, assumed good)&quot;
	header.d=mydomain.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.com; h=
	message-id:content-type:content-type:mime-version:to:subject
	:subject:date:date:from:from; s=dkim; t=1518570634; x=
	1519434635; bh=wPwV3JdE8ouljlYGEsBhciTsYkIH75E1BXF8kzKHSwg=; b=a
	KI7kqaXxvMETdQz6zpH8Ft0i4Kl7ZYBKmvaHwQBgvpukXPpaB0z4ZVRXjtDwPzJo
	994DOgvKO0PGZPoXEQazvakT3CtzJS+2cqrKZsgnzVXD/ESk2+Jrsl1SXK60VEU1
	2FuXqXFn0MrNP7uIi62Pw5/zg2pzOFD/O3UK1PGaY0=
X-Amavis-Modified: Mail body modified (using disclaimer) -
	mail.mydomain.com
X-Virus-Scanned: amavisd-new at mail.mydomain.com
Received: from mail.mydomain.com ([127.0.0.1])
	by mail.mydomain.com (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id CU7ziIiH5kLi for &lt;jenn@mydomain.com&gt;;
	Wed, 14 Feb 2018 09:10:34 +0800 (+08)
Received: from localhost (localhost [127.0.0.1])
	by mail.mydomain.com (Postfix) with ESMTP id 8A2877BBC0;
	Wed, 14 Feb 2018 09:10:34 +0800 (+08)
From: Jenn &lt;jenn@mydomain.com&gt;
Date: Wed, 14 Feb 2018 09:11:08 +0800
Subject: Test event frm android
To: postmaster &lt;postmaster@mydomain.com&gt;, &quot;jenn@mydomain.com&quot; &lt;jenn@mydomain.com&gt;
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=&quot;--_com.sonymobile.email_4194762857418864&quot;
Message-Id: &lt;20180214011034.8A2877BBC0@mail.mydomain.com&gt;


----_com.sonymobile.email_4194762857418864
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

V2hlbjogRmViIDIxLCAyMDE4IDk6MzA6MDAgQU0=

----_com.sonymobile.email_4194762857418864
Content-Type: text/calendar; method=REQUEST; name=&quot;invite.ics&quot;
Content-Transfer-Encoding: base64

QkVHSU46VkNBTEVOREFSDQpNRVRIT0Q6UkVRVUVTVA0KUFJPRElEOkFuZHJvaWRFbWFpbA0KVkVS
U0lPTjoyLjANCkJFR0lOOlZFVkVOVA0KVUlEOjUyNjhmM2FiLTJkOTQtNGY5MS1hMGU4LWFkYTJj
NmM0NzkyOQ0KRFRTVEFNUDoyMDE4MDIxNFQwMTExMDhaDQpEVFNUQVJUOjIwMTgwMjIxVDAxMzAw
MFoNCkRURU5EOjIwMTgwMjIxVDAyMzAwMFoNClNVTU1BUlk6VGVzdCBldmVudCBmcm0gYW5kcm9p
ZA0KREVTQ1JJUFRJT046V2hlbjogRmViIDIxXCwgMjAxOCA5OjMwOjAwIEFNDQpYLU1JQ1JPU09G
VC1DRE8tQUxMREFZRVZFTlQ6RkFMU0UNCkFUVEVOREVFO1JPTEU9UkVRLVBBUlRJQ0lQQU5UO1BB
UlRTVEFUPU5FRURTLUFDVElPTjtSU1ZQPVRSVUU7Q049InBvc3RtYQ0KCXN0ZXIiOk1BSUxUTzpw
b3N0bWFzdGVyQGNlaGdwLmNvbQ0KQVRURU5ERUU7Uk9MRT1SRVEtUEFSVElDSVBBTlQ7UEFSVFNU
QVQ9TkVFRFMtQUNUSU9OO1JTVlA9VFJVRTtDTj0iamVubkBjDQoJZWhncC5jb20iOk1BSUxUTzpq
ZW5uQGNlaGdwLmNvbQ0KQ0xBU1M6UFVCTElDDQpTVEFUVVM6Q09ORklSTUVEDQpUUkFOU1A6T1BB
UVVFDQpQUklPUklUWTo1DQpTRVFVRU5DRTowDQpFTkQ6VkVWRU5UDQpFTkQ6VkNBTEVOREFSDQo=

----_com.sonymobile.email_4194762857418864--</Data>
       <EstimatedDataSize>3258</EstimatedDataSize>
      </Body>
      <Attachments xmlns="AirSyncBase:">
       <Attachment>
        <DisplayName>invite.ics</DisplayName>
        <FileReference>mail/INBOX/105/2</FileReference>
        <Method>1</Method>
        <EstimatedDataSize>858</EstimatedDataSize>
       </Attachment>
      </Attachments>
      <Flag xmlns="Email:">
       <FlagStatus>0</FlagStatus>
      </Flag>
      <Categories xmlns="Email:"/>
      <ConversationId xmlns="Email2:">PDIwMTgwMjE0MDExMDM0LjhBMjg3N0JCQzBAdGVzdG1haWwyLmNlaGdyb3VwLmNvbT4=</ConversationId>
      <LastVerbExecuted xmlns="Email2:">0</LastVerbExecuted>
      <NativeBodyType xmlns="AirSyncBase:">1</NativeBodyType>
     </ApplicationData>
    </Add>
   </Commands>
  </Collection>
 </Collections>
</Sync>

Feb 14 09:11:08 sogod [1911]: 119.56.97.45 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=jenn%40mydomain.com&DeviceId=androidc1800513280&DeviceType=SonyG3226 HTTP/1.1" 200 3967/105 0.800 - - 120K
Feb 14 09:11:09 sogod [1911]: <0x0x55acbcffc840[SOGoActiveSyncDispatcher]> EAS - request for device androidc1800513280: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Ping xmlns="Ping:">
 <HeartbeatInterval>480</HeartbeatInterval>
 <Folders>
  <Folder>
   <Id>mail%2Ff8c10638eddb4d5a390d00005ab3750a</Id>
   <Class>Email</Class>
  </Folder>
  <Folder>
   <Id>vevent%2Fpersonal</Id>
   <Class>Calendar</Class>
  </Folder>
  <Folder>
   <Id>vcard%2Fpersonal</Id>
   <Class>Contacts</Class>
  </Folder>
 </Folders>
</Ping>

Feb 14 09:11:09 sogod [1911]: <0x0x55acbcffc840[SOGoActiveSyncDispatcher]> Change detected using Ping, we let the EAS client know to send a Sync.
Feb 14 09:11:09 sogod [1911]: <0x0x55acbcffc840[SOGoActiveSyncDispatcher]> EAS - response for device androidc1800513280: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Ping xmlns="Ping:">
 <Status>2</Status>
 <Folders>
  <Folder>mail%2Ff8c10638eddb4d5a390d00005ab3750a</Folder>
 </Folders>
</Ping>

Feb 14 09:11:09 sogod [1911]: 119.56.97.45 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Ping&User=jenn%40mydomain.com&DeviceId=androidc1800513280&DeviceType=SonyG3226 HTTP/1.1" 200 58/140 0.395 - - 0
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> EAS - request for device androidc1800513280: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Sync xmlns="AirSync:">
 <Collections>
  <Collection>
   <SyncKey>105-265</SyncKey>
   <CollectionId>mail%2Ff8c10638eddb4d5a390d00005ab3750a</CollectionId>
   <DeletesAsMoves>1</DeletesAsMoves>
   <GetChanges/>
   <WindowSize>10</WindowSize>
   <Options>
    <FilterType>3</FilterType>
    <MIMESupport>2</MIMESupport>
    <BodyPreference xmlns="AirSyncBase:">
     <Type>4</Type>
     <TruncationSize>4096</TruncationSize>
    </BodyPreference>
   </Options>
  </Collection>
 </Collections>
</Sync>

Feb 14 09:11:10 sogod [1911]: <0x0x55acbce76920[NGImap4Client]> Note: no key found for sorting, using 'DATE': (null)
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> EAS - sortedBySequence (56) - lastObject: 105-265
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> EAS - allCacheObjects (1) - lastObject: 105-265
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> EAS - found in cache: 0  k = 0
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> EAS - Dealing with cacheObject: 105-265
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> Change detected during Sync, we push the content.
Feb 14 09:11:10 sogod [1911]: <0x0x55acbd014fd0[SOGoActiveSyncDispatcher]> EAS - response for device androidc1800513280: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Sync xmlns="AirSync:">
 <Collections>
  <Collection>
   <Class>Email</Class>
   <SyncKey>106-265</SyncKey>
   <CollectionId>mail%2Ff8c10638eddb4d5a390d00005ab3750a</CollectionId>
   <Status>1</Status>
  </Collection>
 </Collections>
</Sync>

Feb 14 09:11:10 sogod [1911]: 119.56.97.45 "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Sync&User=jenn%40mydomain.com&DeviceId=androidc1800513280&DeviceType=SonyG3226 HTTP/1.1" 200 78/105 0.636 - - 0
Feb 14 09:11:11 sogod [1911]: <0x0x55acbcd78c10[SOGoActiveSyncDispatcher]> EAS - request for device androidc1800513280: <?xml version="1.0"?>
<!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
<Ping xmlns="Ping:">
 <HeartbeatInterval>480</HeartbeatInterval>
 <Folders>
  <Folder>
   <Id>mail%2Ff8c10638eddb4d5a390d00005ab3750a</Id>
   <Class>Email</Class>
  </Folder>
  <Folder>
   <Id>vevent%2Fpersonal</Id>
   <Class>Calendar</Class>
  </Folder>
  <Folder>
   <Id>vcard%2Fpersonal</Id>
   <Class>Contacts</Class>
  </Folder>
 </Folders>
</Ping>
sogo_log.txt (10,583 bytes)   
CEH MIS

CEH MIS

2018-02-14 01:37

reporter   ~0012599

I changed SOGoEASDebugEnabled = YES and restarted the server.
Create a new event from android phone.

Refer to attached (sogo_log.txt), jenn@mydomain.com as organizer invite postmaster@mydomain.com.
In jenn@mydomain.com mailbox still receiving invitation email from jenn@mydomain.com.

Related Changesets

sogo: master 9776e9d2

2018-02-14 10:00

ludovic


Details Diff
(fix) skip organizer from attendees list (fixes 0004402) Affected Issues
0004402
mod - ActiveSync/iCalEvent+ActiveSync.m Diff File
mod - NEWS Diff File

Issue History

Date Modified Username Field Change
2018-02-13 02:36 CEH MIS New Issue
2018-02-13 20:35 tfu Note Added: 0012598
2018-02-14 01:35 CEH MIS File Added: sogo_log.txt
2018-02-14 01:37 CEH MIS Note Added: 0012599
2018-02-14 15:00 ludovic Changeset attached => sogo master 9776e9d2
2018-02-14 15:00 ludovic Assigned To => ludovic
2018-02-14 15:00 ludovic Resolution open => fixed
2018-02-14 15:07 ludovic Status new => resolved