nextcloud / nextcloud/ios

Crash after saving scan of high page count document

Open
#1,499 2 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

Expected behaviour

No crash.

Actual behaviour

When scanning a document in the iOS app, normally after tapping 'save' it pauses for a moment, and puts it in the upload queue.

Instead, I try and scan a larger document (usually ~20 pages), it will consistently crash and lose the document.

Note that this has persisted for a while across the last few app and iOS versions, I just haven't written an issue report until now.

Steps to reproduce

Scan a document using the scan to PDF options. Scan about 20 pages. Try to save.

iOS version

14.2, but as mentioned above it also occurred on earlier versions.

App version

3.0.15.2 @ 2020, but as mentioned above it also occurred on earlier versions.

Server configuration

Container:
dockerhub image benyanke/nextcloud

Database:
MySQL

PHP version:
All recent versions

Nextcloud version: (see Nextcloud admin page)
All recent versions up to my current install of 19.0.3

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 crash in the iOS app using the reported setup: scan about 20 pages with scan-to-PDF and tap Save. Trace the save and upload-queue path from the failure, then verify that large documents save without crashing or being lost.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
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.