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

Add OneDrive Personal Drive ID and Remote Drive ID length check #3086

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

abraunegg
Copy link
Owner

  • Add a check to ensure that OneDrive Personal Drive ID and Remote Drive ID values are 16 characters, padded by leading zeros if the provided JSON data has dropped these leading zeros
  • If OneDrive Personal Account, validate all use of 'onedriveJSONItem["parentReference"]["driveId"].str' within application to ensure consistency in use and application

* Add a check to ensure that OneDrive Personal Drive ID and Remote Drive ID values are 16 characters, padded by leading zeros if the provided JSON data has dropped these leading zeros
* If OneDrive Personal Account, validate all use of 'onedriveJSONItem["parentReference"]["driveId"].str' within application to ensure consistency in use and application
@abraunegg abraunegg added this to the v2.5.4 milestone Jan 23, 2025
* Update PR
* Remove forcing API call against test Personal Accounts
* Change logging output
@abraunegg abraunegg merged commit 15656d3 into master Jan 24, 2025
10 checks passed
@abraunegg abraunegg deleted the fix-issue-3072v4 branch January 24, 2025 09:15
@abraunegg
Copy link
Owner Author

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Repository owner locked and limited conversation to collaborators Feb 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: A database consistency issue has been caught.
1 participant