Skip to content

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Aug 5, 2025

  • Tests written, or not not needed

How to reproduce?

  1. Tap the “+” button and create a new folder.
  2. Encrypt the folder.
  3. Upload a file named “A” from one location on the device.
  4. Upload another file with the same name “A” from a different location on the device.
  5. From the notification tray, tap the conflict notification and choose “Keep local” in the file conflict popup.
  6. Local file gets deleted

Issue?

UploadFileOperation.cleanupE2EUpload line 910 local file exists, line 920 local file not exists. How come unlock folder operation can delete the local file? You can use Debug → Evaluation expression field to check file existence. @tobiasKaminsky

Screenshot 2025-08-20 at 12 14 02

@alperozturk96 alperozturk96 force-pushed the bugfix/file-deletion-e2ee-upload branch from 20833bb to af6949f Compare August 19, 2025 08:57
Signed-off-by: alperozturk <[email protected]>
@alperozturk96 alperozturk96 force-pushed the bugfix/file-deletion-e2ee-upload branch from af6949f to d7c17a1 Compare August 25, 2025 10:11
Copy link

Codacy

Lint

TypemasterPR
Warnings4848
Errors1111

SpotBugs

CategoryBaseNew
Bad practice5959
Correctness6262
Dodgy code283284
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3535
Performance4848
Security1818
Total515516

SpotBugs increased!

Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15311.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.

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