nextcloud / nextcloud/ios

Activity log missing entries due to incorrect caching behavior

Open
#2,552 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Create some entries in the Nextcloud Activity log
  2. View those in the iOS app
  3. Create many more entries in the activity log
  4. Open the Activity tab in the iOS app
Expected behaviour

All of the new activity entries should appear at the top of the page, before the original set of activity entries

Actual behaviour

The iOS app loads the first few new activity items and then displays the original items it cached. There is no way to view the intermediate activity entries. Scrolling to the bottom of the activity page only shows earlier entries.

The only way to recover the missing entries in the activity log is to clear the iOS app cache entirely.

Environment data

iOS version: 16.6

Nextcloud iOS app version: 4.8.6.4

Server operating system: Linux (Docker)

Database: MariaDB

Nextcloud version: 26.0.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the iOS app by creating activity entries, viewing them, creating many more, and reopening the Activity tab. Investigate the Activity tab's caching and pagination behavior; done means all intermediate entries appear in order without requiring the app cache to be cleared.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.