Nextcloud-deck: Card order not synced properly

Created on 11 Jun 2020  路  4Comments  路  Source: stefan-niedermann/nextcloud-deck

Card order is not synced when changing it in Android app. After interacting with the board through the web app, order syncing seems to start working in the Android app as well.

To Reproduce

  1. Open Android app
  2. Create new card(s)
  3. Change card order
  4. Notice that the sync icon that usually appears on the card does not appear
  5. Refresh board
  6. See how card positions change to their old state
  7. Go to web app and reorder cards there
  8. Go back to Android app, refresh board and reorder cards again
  9. Notice how now the sync icon on the cards appears and order is properly synced

Expected behavior
Order is properly synced.

Smartphone (please complete the following information):

  • Device: Xiaomi Mi Note 10
  • Android-Version: 9
  • App-Store:

    • [ ] Google Play Store

    • [x ] F-Droid

Stacktrace

馃悶 bug

All 4 comments

I can confirm this bug. Xiaomi Mi 9t

The issue was, that at card creation i didn't set the order properly, resulting in all cards having order 0. The reorder algorithm then saw that the new order is the same as the old one, so nothing to do here.

Now we set the order at creation properly. Additionally the reorder will recognize broken orders and fix them automatically for you if needed.

Please tell us, if you still encounter some issues with that and thanks for this report @thenickname and @JohannesStroebel!

Oh, one more thing: @stefan-niedermann told me we are going to ship this in the next version (1.5.1)

Was this page helpful?
0 / 5 - 0 ratings