nextcloud / nextcloud/ios

Upload edited videos result in file name conflict

Open
#3,790 0 comments 0 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. enable auto upload on ios, enable auto renaming
  2. take a video, edit in iphone, save as new video
  3. open nextcloud, start upload
Expected behaviour

the original video, as well as the edited new video, should both be uploaded

Actual behaviour

the 2 video shares the same timestamp, as well as 4 digits ID, resulting in name conflict. only first file uploaded, the other file failed to upload

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

a additional suffix should be appended to the filename, both should be uploaded

Environment data

iOS version: e.g. iOS 17.6.1

Nextcloud iOS app version: see More > Settings

Server operating system:

Web server: Apache, nginx

Database:

PHP version:

Nextcloud version: see Nextcloud admin page

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

No source file, test, or entry point is identified in the issue. Start by reproducing the iOS auto-upload flow with auto-renaming enabled and an edited video; done means both the original and edited videos upload with distinct filenames.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.