When i try to save a document to SharePoint document library, which has some mandatory metadata columns not filled out, my document gets checked out automatically and then i am unable to check it in. The SP lib is synced to my local drive.
When i provide some default values to the mandatory metadata columns, i dont see this behavior.
Is there any workaround to this?

