microsoft / EmbeddedSocial-iOS-SDK

SDK for interacting with the Microsoft Embedded Social service from inside your iOS app
MIT License
19 stars 11 forks source link

[Manual] - Duplication of comments\replies that were added in offline mode #614

Closed JaroslawRomanovich closed 7 years ago

JaroslawRomanovich commented 7 years ago

Commit number: 949aa726711635969e6cb57e2adf4ac9951e3a17

Preconditions: Test user is signed in;

Steps to reproduce:

  1. Set the application to offline mode
  2. Add several (5-10) comments\replies for comments
  3. Set the application to on-line mode
  4. Wait for data synchronization
  5. Check comments or replies that were added in offline mode

Actual Result: Some comments and replies are duplicated Expected Result: No duplication of comments and replies

mrdevms commented 7 years ago

Reproduced on post creation too. In offline: created 2 replies. Restart app with internet. start posting Optional("Reply 2") start posting Optional("Reply 1") post failed Optional("Reply 1") post success Optional("Reply 2") start posting Optional("Reply 1") start posting Optional("Reply 2") post failed Optional("Reply 2") start posting Optional("Reply 2") start posting Optional("Reply 1") post success Optional("Reply 1") post success Optional("Reply 2") post success Optional("Reply 1")

Vadim-Bulavin commented 7 years ago

@JaroslawRomanovich implemented in https://github.com/Microsoft/EmbeddedSocial-iOS-SDK/pull/647

JaroslawRomanovich commented 7 years ago

Verified on build from commit number 73646af7c86417b3aacb7aadf4c5b0b196e4e00a