Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Migrate OwncloudClient to NextCloudClient for empty trashbin #11738

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

surinder-tsys
Copy link
Collaborator

Prerequisite:

  1. Checkout the latest master
  2. Install the build from master branch.

Steps to reproduce:

  1. Open app and navigate to Deleted files.
  2. Click on 3 dot overflow menu and select "Empty trash bin".
  3. App will crash.

Reason of crash: EmptyTrashbinRemoteOpertation is using NextcloudClient for execution but while calling from RemoteTrashbinRepository OwncloudClient (deprecated) one is getting used.

crash_logs
Crash logs

Fix: Migrating the operation call from OwncloudClient to NextcloudClient.

  • Tests written, or not not needed

@nextcloud-android-bot
Copy link
Collaborator

@nextcloud-android-bot
Copy link
Collaborator

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.26.0 milestone Jul 4, 2023
@AndyScherzinger AndyScherzinger merged commit 5775534 into master Jul 4, 2023
13 of 17 checks passed
@delete-merged-branch delete-merged-branch bot deleted the nmc/fixEmptyTrashbinFix branch July 4, 2023 16:38
@github-actions
Copy link

github-actions bot commented Jul 4, 2023

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

github-actions bot commented Jul 4, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants