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

Check Nullable Fields During Folder Changes Check #13937

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alperozturk96
Copy link
Collaborator

@alperozturk96 alperozturk96 commented Nov 4, 2024

  • Tests written, or not not needed

How to Test?

  1. Place a debugger in the checkForChanges() function.
  2. Try syncing both a changed and an unchanged folder; the debugger should hit the selected line, and the correct result should be returned.

@alperozturk96
Copy link
Collaborator Author

@tobiasKaminsky Could you check the returned ResultCodes? Are they correct? Maybe some other result codes can suit better.

@alperozturk96 alperozturk96 changed the title BugFix - Check Nullable Fields During Folder Changes Check Check Nullable Fields During Folder Changes Check Nov 4, 2024
@alperozturk96 alperozturk96 force-pushed the bugfix/npe-checkForChanges branch 2 times, most recently from 72b5793 to 19a2b39 Compare November 6, 2024 07:55
@alperozturk96 alperozturk96 added this to the Nextcloud App 3.30.5 milestone Nov 11, 2024
Copy link
Member

@tobiasKaminsky tobiasKaminsky left a comment

Choose a reason for hiding this comment

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

These changes are too risky without real tests.

Copy link

Codacy

Lint

TypemasterPR
Warnings5959
Errors33

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness6262
Dodgy code297297
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness66
Performance5353
Security1818
Total510510

Copy link

@tobiasKaminsky tobiasKaminsky removed this from the Nextcloud App 3.30.5 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants