nextcloud / nextcloud/ios

[Scan document] Cannot save 3th+ scanned document in any folder

Open
#3,214 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Cannot save the 3th or more scanned document in any folder. First off the issues seemed to be a subfolder with spaces in the name, or just any subfolder. Then after some more testing I found that's its the 3th (or more) document in a row one scans and want to save in a (sub)folder is not possible.

Steps to reproduce
  1. Start the NC App on iPhone
  2. Browse to the root or subfolder ("Backup" folder is in my screenshot)
  3. Click the "+" button on the screen and select the Scan document option.
  4. Add the scanned paged to the selection, so it will end up in the pdf document
  5. Then on teh Save page in twe wizard for the first, second and sometimes thirth document Saving the document is possible (folder name or documen tame does not seem to matter).
  6. If saving teh previous document could be saved fine, then again click the "+" button on the app screen and select the Scan document option.
  7. Scan a new page, add it to the selection and then try to Save the finally created pdf: the Save button is not greayed out but clicking on it does not save the document. The save button does just not respond and only going back in the wizard is possible, or closing the app at all.
  8. After closing the app and restarting it one can test this process again and also now the 3th+ scan-document created will not save.

Image

Expected behaviour

One would exect a scanned document could be saved in the folder the user wants to land the file into.

Actual behaviour

Scanned document cannot be saved in the suggested location after multiple documents are scanned.

Logs

communication.log

Reasoning or why should it be changed/implemented?
Environment data

iOS version:
iOS 18.1.1

Nextcloud iOS app version: see More > Settings
iOS App 6.1.6.1

Server operating system:
Ubuntu

Web server: Apache, nginx
Apache

Database:
PostgreSQL

PHP version:
8.3

Nextcloud version: see Nextcloud admin page
30.0.2

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 scan-document workflow in the Nextcloud iOS app using the listed steps, then inspect communication.log for the failed save attempt. The fix is complete when the third and later scanned PDFs save successfully in the selected root or subfolder on the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, 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.