nextcloud / nextcloud/ios

Unable to upload non pic/video into Nextcloud on IOS

Open
#685 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

Expected behaviour

From an app like Minikeepass (and others like pdf reader) I was able to use “Open In” and select NextCliud to upload. Since a few updates ago it thinks everything is video or picture

Actual behaviour

Clicking open in NextCloud, after selecting the folder, it errors out saying it could not find photo or video. The “Copy To Nextcloud” does work, but is not the right function as it creates a copy which I have to do separate steps to remove the old file and rename the new file to the right file name.

Steps to reproduce

Open an application and try to open the file to Nextcloud.

iOS version

12, but was happening since early IOS 11

App version

2.22.40 (has been happening since May/June 2018 with earlier versions)

Server configuration

CentOS 7 (no change from when it was working)

Operating system: CentOS 7

Web server: Apache 2.4 (no change)

Database: MySQL (MariaDB)

PHP version: 5.6 thru 7.2

Nextcloud version: (see Nextcloud admin page)
13 but happening on an unchanged v12.x (last version)

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 Open In flow on iOS with a non-photo, non-video file, then compare it with Copy To Nextcloud. Trace the upload path used after selecting a destination folder and verify that arbitrary files upload without the photo-or-video error while preserving their original name.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.