nextcloud / nextcloud/ios

Auto upload the whole camera roll submits wrong cteation time

Open
#2,837 1 comment 1 reaction 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

Steps to reproduce
  1. Enable auto upload, auto upload photos + videos
  2. Enable upload the whole camera roll
  3. Use subfolders monthly
  4. Maintain original filename
Expected behaviour
  1. The uploaded photo/video path should be {Auto upload folder}/{Year}/{Month}/{Filename}
  2. The uploaded photo/video creation time should be as in the original file
Actual behaviour
  1. The uploaded photo/video path is {Auto upload folder}/{Year}/{Month}/{Filename}
  2. The uploaded photo/video creation time is the time when the upload process is initiated
Screenshots

0495Details
IMG_0495_Original.JPG creation time is the 20 of November 2023 9:35 AM

photo_2024-03-11_10-59-31
The actual creation time is the 21st of November 2016 12:14 AM

0495ListView
The file path is correct - /Photos/2016/11/IMG_0495_Original.JPG

Logs

I would happily add the logs, but I don't have up-to-date log files.

Reasoning or why should it be changed/implemented?

Photo catalog order is impacted.

Environment data

iOS version: iOS 17.3.1

Nextcloud iOS app version: 5.2.0.9

Server operating system: Ubuntu 22.04.3 LTS (GNU/Linux 6.5.0-17-generic x86_64)

Web server: Apache

Database: MySQL 8.0.36

PHP version: 8.3.2

Nextcloud version: 28.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 whole-camera-roll auto upload with monthly subfolders and original filenames, then compare the original file creation time with the uploaded item's time. Done means uploaded photos and videos preserve their original creation time while retaining the currently correct {Year}/{Month}/{Filename} path.

Written by the indexing model from the issue text.

Assessment

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