Liquid error: undefined method `name' for nil:NilClass
Fixed the OneDrive Sync Agent issue which prevents the user from saving an unprotected Office file.
Before the fix: When an unprotected Office file is opened from OneDrive online or a sync agent location, edited, and saved, an “Upload failed” error used to show up. Consequently, the edits were not saved.
After the fix: Such files are now saved without any error and the edits are uploaded to the online repository.