owncloud / owncloud/ios-app

[BUG] Endless loop if the server is temporarily not available

Open
#810 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
251
Forks
142
Avg merge
2d 17h
Merged PRs (30d)
3

Description

If you found a bug:

Server replies with HTTP 400 -> App is stuck in the state where it displays an error repeatedly.

Steps to reproduce
  1. Make sure backend replies with HTTP 400
  2. Open bookmark in oC App
Expected behavior

Error displayed once and it is possible to work with documents even if the server is not available

Actual behavior

Error displayed repeatedly. If user tries to dismiss it, it is displayed again immediately.

Client

iOS version: iOS 13.x

ownCloud app version: 11.4.1

Device model: n/a

See screenshot
Simulator Screen Shot - iPhone 8 - 2020-10-06 at 00 05 03

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

Start by reproducing the issue with the backend returning HTTP 400 while opening a bookmark in the iOS app, then trace why the error is presented repeatedly after dismissal. Done means the error is shown once and the user can continue working with documents when the server is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.