Upload edited videos result in file name conflict
Nobody has claimed this yet.
- 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
- enable auto upload on ios, enable auto renaming
- take a video, edit in iphone, save as new video
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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