nextcloud / nextcloud/ios

Folder path issue when manually uploading pictures

Open
#3,293 7 comments 4 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.

Steps to reproduce
  1. On iOS app, press the blue "+" and manually select a photo to upload
  2. Enable Use the "Auto upload" folder as destination
  3. Enable Use subfolders

Image

Expected behaviour

The new uploaded image should be placed under /Photos/2025/01

Actual behaviour

App recursively appends year and month to folder path. It tries to upload the photo to /Photos/2025/01/2025/01/2025/01

Image

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?
Environment data

iOS version: 18.1.1

Nextcloud iOS app version: 6.2.4.7

Server operating system: Linux 6.6.44-production+truenas x86_64

Web server: Apache/2.4.62 (Debian)

Database: PostgreSQL 13.18

PHP version: 8.2.27

Nextcloud version: 30.0.5

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

Reproduce the issue in the iOS app by manually selecting a photo with the Auto upload folder and subfolders options enabled. Trace the upload destination and subfolder handling from that flow; done means the image is placed at /Photos/2025/01 rather than repeatedly appending the year and month.

Written by the indexing model from the issue text.

Assessment

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