Opush
  1. Opush
  2. OP-97

A allday event created on iOS is created the day before

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.2
    • Labels:
      None
    • Environment:

      OBM 2.5.7 + Opush 3.0.0 on CentOs

    • 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

      1. meetingAndroid.ics
        0.9 kB
        Stephane COLSON
      2. meetingIphone.ics
        0.8 kB
        Stephane COLSON
      3. meetingTB.ics
        0.8 kB
        Stephane COLSON
      1. calendar.png
        37 kB
      2. details.png
        57 kB

        Issue Links

          Activity

          Hide
          Stephane COLSON added a comment -

          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

          Show
          Stephane COLSON added a comment - 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
          Hide
          Antoine DUPRAT added a comment -

          Impact
          On create/modify events sent by a device.

          QA
          Check that creation is OK on iOS8.

          Show
          Antoine DUPRAT added a comment - Impact On create/modify events sent by a device. QA Check that creation is OK on iOS8.
          Hide
          Antoine DUPRAT added a comment - - edited

          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>
          
          Show
          Antoine DUPRAT added a comment - - edited 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>
          Hide
          Stephane COLSON added a comment -

          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.

          Show
          Stephane COLSON added a comment - 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.

            People

            • Assignee:
              Antoine DUPRAT
              Reporter:
              Stephane COLSON
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: