Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SharePoint Online sync create invisible file in sharepoint. #131

Closed
2 tasks done
pholmgren opened this issue May 15, 2020 · 11 comments
Closed
2 tasks done

SharePoint Online sync create invisible file in sharepoint. #131

pholmgren opened this issue May 15, 2020 · 11 comments
Assignees

Comments

@pholmgren
Copy link

Describe the bug
I can not see the file on Sharepoint.

To Reproduce
Steps to reproduce the behavior:

  1. Open file
  2. configure where to sync to
  3. Sync with sucsess
  4. Go to sharepoint folder and look for file.

Expected behavior
a file that syncs to share point suppose to be visible so a new member of SP site can download it.

Screenshots
attached screenshot with file missing but sync result successful.
sharepoint synced file is missing in sharepoint!

Versions (please complete the following information):

  • KeePass [e.g. 2.44]:
  • KeePass OneDriveSync Plugin [e.g. 2.1.1.2]:

Authentication method

  • SharePoint Online

KeePass database synced with

  • SharePoint Online
@KoenZomers
Copy link
Owner

Interesting one. Let me try and see if I can reproduce it.

@KoenZomers
Copy link
Owner

Just tried to reproduce it and I cannot get it reproduced. It works for me. Steps I have taken:

  1. Create new KeePass database in KeePass
  2. Hit CTRL+S to save it and have the plugin ask me if it should sync it -> Yes
  3. Go to the SharePoint tab, provide the URL of the SharePoint Online site, i.e. https://tenant.sharepoint.com/sites/mysite, a valid client id and client secret
  4. Select location dialog shows, go into Documents library, KeePass folder and then store the database
  5. Went to the https://tenant.sharepoint.com/sites/mysite/Shared%20Documents location and saw the KeePass database having been uploaded

Does this match the steps you have taken?

@pholmgren
Copy link
Author

I have tested the above twice with same result = files are hidden from a browser
But I discover that when I did a new test and configured sync I can see the previous files/tests from the plugin where to select a folder!
really strange.

strange I can see the hidden files when creating a new sync file

Our company sharepoint is in swedish so the link when browsing is https://idnet1.sharepoint.com/sites/IT/Delade%20dokument/
when I try with "Shared%20Documents" I get an 404

@KoenZomers
Copy link
Owner

Tried it again here on a Dutch and Swedish localized site, and still works:

image

Are you not using a modified view in SharePoint which may filter out the KeePass databases? What if you upload other documents through your browser in that same document library, do you see these in the KeePass "Select location" picker? That way we can be 100% sure we're looking at the same location.

@pholmgren
Copy link
Author

I have now tested this and made new word document and uploaded one file.
They did not show in KeePass "Select location" picker but they had a red down arro on the in browser view.
that arrow was telling me they where not "checked in".

After I checked in both files they show up in KeePass "Select location" picker!

So is there same problems with "your" files?
they are not checked in so they are not visible for me as a user.

@pholmgren
Copy link
Author

Its written in Swedish but you can probably translate it ;)

image

So it looks like that all files created in this folder is marked as "checked out" and are invisible for all other users.

@KoenZomers
Copy link
Owner

Interesting findings! So you've got draft versioning on on your library. Can you share with me how these versioning settings look like for you on your library?

image

@pholmgren
Copy link
Author

image

@KoenZomers
Copy link
Owner

Thanks @pholmgren. Key here is the "require documents to be checked out before they can be edited" option. If that's set to Yes, you get the behavior you're experiencing. I can reproduce it now. Let me see if I can do something about this.

@KoenZomers
Copy link
Owner

Fixed it. Working on a new release.

@KoenZomers
Copy link
Owner

Fixed in version 2.1.2.0. Closing this issue. Feel free to reopen this issue if it still doesn't work as expected with this new version.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants