nextcloud / nextcloud/ios

original filename is replaced by timestamp when document is handed over from another app

Open
#876 5 comments 2 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

I am using the "Genius Scan" app to create PDF. Before exporting the document to Nextcloud I rename the file within Genius Scan. Expected behaviour is that the new file name is used while uploading the document to the Nextcloud server.

Actual behaviour

Instead of using the file name I selected/changed within Genius Scan a new file name is created based on current system date & time (e.g. 2019-06-05 00-06-52-1.pdf

The issue seems to be within the Nextcloud app. If I export the same document via Genius Scan to Google Drive everything works perfectly. This worked in the past and seems to have stopped working with one of the latest updates of the Nextcloud app.
I already reported this feature request in 2017 and it got implemented as feature request. Please refer to issue #275

Steps to reproduce
  1. create a PDF document with Genius Scan app
  2. rename the file within Genius Scan app
  3. export the renamed file to nextcloud and upload
iOS version

12.2

App version

Nextcloud: 2.23.6.15
Genius Scan: 5.2.1

Server configuration

Nextcloud version: (see Nextcloud admin page)
15.0.7

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 Genius Scan-to-Nextcloud handoff described in the steps, using a renamed PDF, and compare the uploaded filename with the source filename. Done means the iOS app preserves the renamed source filename instead of replacing it with a timestamp; verify the behavior against the listed app and iOS versions if available.

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.