nextcloud / nextcloud/ios

Upload doesn't work when subfolders are enabled for photos

Open
#812 1 comment 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

Auto upload / manual upload uploads photos to subfolders based on year and month

Actual behaviour

Photos only upload if 'Use subfolders' is not enabled and then they upload to the /Photos directory

Steps to reproduce

Upload a photo with 'Use subfolders' enabled <-- this won't work
Upload a photo with 'Use subfolders' disabled <-- will work as expected

iOS version

12.1.4

App version

2.23.1.10

Server configuration

Operating system:
Raspbian
Web server:
Apache
Database:
MySQL
PHP version:
7.0
Nextcloud version:
15.0.5

Additional Details:
This feature seemed to work prior to the 2.23.1 update with the new 'Media' tab.

Update:

It seems like auto upload can't automatically create the subfolders, but I just created one for March (03) and auto uploads seem to be working. Not sure if it will continue working in April, however.

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 photo upload with “Use subfolders” enabled on the affected iOS app version, then trace the upload flow responsible for creating year/month directories. Compare it with uploads when subfolders are disabled; done means both automatic and manual uploads create or use the expected subfolders successfully.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.