Skip to content

fix(upload-db) duplicated entries#16618

Merged
alperozturk96 merged 6 commits intomasterfrom
fix/upload-entity-duplication
Mar 12, 2026
Merged

fix(upload-db) duplicated entries#16618
alperozturk96 merged 6 commits intomasterfrom
fix/upload-entity-duplication

Conversation

@alperozturk96
Copy link
Copy Markdown
Collaborator

No description provided.

@alperozturk96
Copy link
Copy Markdown
Collaborator Author

/backport to stable-3.36

)

val capability = CapabilityUtils.getCapability(context)
result = AutoRename.rename(result, capability)
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Activate auto-rename if exists before auto-upload because after this call DB insertions will start

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>

# Conflicts:
#	app/src/main/java/com/nextcloud/client/jobs/autoUpload/AutoUploadWorker.kt
#	app/src/main/java/com/owncloud/android/ui/adapter/UploadListAdapter.java
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 force-pushed the fix/upload-entity-duplication branch from 3692402 to 3704807 Compare March 12, 2026 09:53
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@github-actions
Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice4040
Correctness7272
Dodgy code236236
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4343
Security1818
Total453453

@github-actions
Copy link
Copy Markdown

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/16618.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@alperozturk96 alperozturk96 merged commit 4129d64 into master Mar 12, 2026
15 of 20 checks passed
@alperozturk96 alperozturk96 deleted the fix/upload-entity-duplication branch March 12, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant