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

Share Link Crash Fix #13166

Merged
merged 4 commits into from
Jun 28, 2024
Merged

Share Link Crash Fix #13166

merged 4 commits into from
Jun 28, 2024

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Jun 21, 2024

  • Tests written, or not not needed

Problem

After share file list needs to be updated for the display the share icon on the folder. Sometimes a folder cannot be found after share action.

Solution

We can prevent crash via checking file existence and check Share Object instance type. If we cannot find file in the list we can inform the user.

During my tests, share functionality is working as expected. I can't able to reproduce.

Screen.Recording.2024-06-21.at.15.46.25.mp4

@alperozturk96 alperozturk96 linked an issue Jun 21, 2024 that may be closed by this pull request
@alperozturk96 alperozturk96 marked this pull request as draft June 24, 2024 10:24
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
Signed-off-by: alperozturk <alper_ozturk@proton.me>
@nextcloud nextcloud deleted a comment from github-actions bot Jun 28, 2024
Copy link

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

Copy link

Codacy

Lint

TypemasterPR
Warnings6363
Errors33

SpotBugs

CategoryBaseNew
Bad practice6464
Correctness6565
Dodgy code319318
Experimental11
Internationalization77
Multithreaded correctness66
Performance5555
Security1818
Total535534

@alperozturk96 alperozturk96 merged commit b9d94e8 into master Jun 28, 2024
21 checks passed
@AndyScherzinger AndyScherzinger deleted the crash-fix-share-link branch June 28, 2024 13:04
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.30.0 milestone Jun 28, 2024
@joshtrichards joshtrichards mentioned this pull request Jul 5, 2024
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.

Link sharing error
2 participants