Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1249

WP 8.1: Empty sync + empty response trigger loop

    Details

    • Type: Bug
    • Status: QA
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.8 beta1, 2.3.8
    • Component/s: None
    • Labels:
      None

      Description

      With ZP-1241 we introduced not entering heartbeat for empty sync requests anymore.
      While this is correct, the spec states that with an empty sync request the server should "repeat the last executed sync parameters".
      Apparently this is also expected for sync with heartbeat and no changes, because the next empty sync should then also perform a heartbeat which is now not being done anymore.

      We need to detect this case and return an alternative common status code in this case.
      Code SYNC_COMMONSTATUS_SYNCSTATEVERSIONINVALID (136) should do the trick.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Sebastian Sebastian Kummer
                  Reporter:
                  Sebastian Sebastian Kummer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: