[OP-97] A allday event created on iOS is created the day before Created: 24/Jun/14  Updated: 15/Oct/14  Resolved: 15/Oct/14

Status: Closed
Project: Opush
Component/s: None
Affects Version/s: 3.0.0
Fix Version/s: 3.0.2

Type: Bug Priority: Major
Reporter: Stephane COLSON Assignee: Antoine DUPRAT
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OBM 2.5.7 + Opush 3.0.0 on CentOs


Attachments: PNG File calendar.png     PNG File details.png     File meetingAndroid.ics     File meetingIphone.ics     File meetingTB.ics    
Issue Links:
Relates
relates to OBMFULL-6020 A one day AllDayEvent displayed one d... Open
Rank: 6262

 Description   

Reproduction steps

  1. As usera with TB, create a allday event "EVENT 1" on July, 02 with an attendee userb
  2. As usera with iphone, create a allday event "EVENT 2" on July, 02 with an attendee userb
  3. As userb with a Nexus 7, create a allday event "EVENT 3" on July, 02 with an attendee userb

Current behavior

  1. In ui, TB or smartphone for usera or userb the event "EVENT 1" is created at the correct date: July, 02 OK
  2. In ui, TB or smartphone for usera or userb the event "EVENT 2" is created at the wrong date: July, 01 (see ics received by userb) NOK
  3. In ui, TB or smartphone for usera or userb the event "EVENT 3" is created at the correct date: July, 02 OK

Expected behavior

  1. All events created on July, 02 OK

Additional informations

In ui, when I consult the details of the event, the date is OK (see details.png) but not in the calendar (see calendar.png)
This is a regression, was OK with Opush 2.5.7



 Comments   
Comment by Stephane COLSON [ 06/Oct/14 ]

No, this is a regression introduced in OPush 3.0.0, we are not supposed to move it from version to version n+1, we are supposed to eradicate regressions.

Comment by Antoine DUPRAT [ 13/Oct/14 ]

Capture on Exchange:
Request sent by iPad (iOS 8) all day event on october the 16th:

<?xml version="1.0" encoding="UTF-8"?><Sync>
    <Collections>
        <Collection>
            <SyncKey>416183784</SyncKey>
            <CollectionId>1</CollectionId>
            <GetChanges/>
            <WindowSize>25</WindowSize>
            <Options>
                <FilterType>5</FilterType>
                <BodyPreference>
                    <Type>1</Type>
                    <TruncationSize>32768</TruncationSize>
                </BodyPreference>
            </Options>
            <Commands>
                <Add>
                    <ClientId>689</ClientId>
                    <ApplicationData>
                        <TimeZone>xP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAMAAAAAAAAAxP///w==</TimeZone>
                        <AllDayEvent>1</AllDayEvent>
                        <BusyStatus>2</BusyStatus>
                        <DTStamp>20141013T125546Z</DTStamp>
                        <EndTime>20141016T220000Z</EndTime>
                        <Sensitivity>0</Sensitivity>
                        <Subject>Op-97</Subject>
                        <StartTime>20141015T220000Z</StartTime>
                        <UID>3AA17C5D79D8452A9A28308401C9C9200</UID>
                        <MeetingStatus>0</MeetingStatus>
                    </ApplicationData>
                </Add>
            </Commands>
        </Collection>
    </Collections>
</Sync>

Response:

<?xml version="1.0" encoding="UTF-8"?><Sync>
    <Collections>
        <Collection>
            <SyncKey>1851502601</SyncKey>
            <CollectionId>1</CollectionId>
            <Status>1</Status>
            <Responses>
                <Add>
                    <ClientId>689</ClientId>
                    <ServerId>1:2</ServerId>
                    <Status>1</Status>
                </Add>
            </Responses>
        </Collection>
    </Collections>
</Sync>

Request sent by Nexus 4 (Android 4.4.4) all day event on october the 17th:

<?xml version="1.0" encoding="UTF-8"?><Sync>
    <Collections>
        <Collection>
            <SyncKey>792257622</SyncKey>
            <CollectionId>1</CollectionId>
            <DeletesAsMoves/>
            <GetChanges/>
            <WindowSize>10</WindowSize>
            <Options>
                <FilterType>4</FilterType>
                <BodyPreference>
                    <Type>1</Type>
                    <TruncationSize>200000</TruncationSize>
                </BodyPreference>
            </Options>
            <Commands>
                <Add>
                    <ClientId>ef99b8e9-18f2-491b-b99e-9253a7032f5c</ClientId>
                    <ApplicationData>
                        <TimeZone>xP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAFAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAFAAIAAAAAAAAAxP///w==</TimeZone>
                        <AllDayEvent>1</AllDayEvent>
                        <StartTime>20141016T220000Z</StartTime>
                        <EndTime>20141017T220000Z</EndTime>
                        <DTStamp>20141013T130158Z</DTStamp>
                        <Subject>Op-97-2</Subject>
                        <Body>
                            <Type>1</Type>
                            <Data/>
                        </Body>
                        <OrganizerEmail>extc@exchange.lyn.lng</OrganizerEmail>
                        <ReminderMinsBefore>10</ReminderMinsBefore>
                        <UID>ef99b8e9-18f2-491b-b99e-9253a7032f5c</UID>
                        <BusyStatus>2</BusyStatus>
                        <MeetingStatus>0</MeetingStatus>
                        <Sensitivity>0</Sensitivity>
                    </ApplicationData>
                </Add>
            </Commands>
        </Collection>
    </Collections>
</Sync>

Response:

<?xml version="1.0" encoding="UTF-8"?><Sync>
    <Collections>
        <Collection>
            <SyncKey>731095169</SyncKey>
            <CollectionId>1</CollectionId>
            <Status>1</Status>
            <Responses>
                <Add>
                    <ClientId>ef99b8e9-18f2-491b-b99e-9253a7032f5c</ClientId>
                    <ServerId>1:2</ServerId>
                    <Status>1</Status>
                </Add>
            </Responses>
        </Collection>
    </Collections>
</Sync>
Comment by Antoine DUPRAT [ 15/Oct/14 ]

Impact
On create/modify events sent by a device.

QA
Check that creation is OK on iOS8.

Comment by Stephane COLSON [ 15/Oct/14 ]

OK with OPush version 3.0.2~beta3~git20141015.102653.862d035-1

Environment: OBM 2.5.9-0.alpha4+git20141014_1612_174d54f on CentOS
With Samsung Galaxy SII (Android 2.3.3), iPhone (iOS 5.1.1), iPad (iOS 8.0.2), Moto G (Android 4.4.4), Samsung Omnia 7 (Windows Phone 7.5)

Tested creation of an allday event, and a modification of an allday event on previously listed smartphones

Generated at Wed Aug 21 13:28:12 CEST 2019 using JIRA 6.1.1#6155-sha1:7188aeec9a6b57d61ea04c52f235f15f55c105e2.