-
Notifications
You must be signed in to change notification settings - Fork 380
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
FilePicker: Site Tab does not load document if we access SharePoint site in different language than default language of the site #724
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
Thank you @kalpeshvaghela90 for reporting that issue! |
I have implemented the fix. Could you please test it in beta version? |
@AJIXuMuK Now it seems that the folder browser stopped working altogether when navigating from the "Sites" view 😄 (works only on the root site). It throws an exception here (404, file not found), on any locale, sp-dev-fx-controls-react/src/services/FileBrowserService.ts Lines 30 to 32 in 56d7e01
The thing is, it tries to do this: Looks like getList() expects full relative url, not a partial one. I guess the link line above should be changed like this maybe?
|
Thank you @nbelyh! Good catch! Now it should be fixed. |
Category
[ ] Enhancement
[X ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 1.16.0 ]
Expected
FilePicker - Site Tab should work doesn't matter in which language we are accessing site.
Observed Behavior
If SharePoint site's default language is English, and if you access site in any other language then Site tab will show list of document library but if we click on any library then it doesn't get document from that document library (specially in case of default library i.e. Site Pages, Site Assets, Document Library) if document library title is multi lingual.
Steps to Reproduce
Submission Guidelines
I went through code and found that document library are being accessed using GetByTitle method.
It should not use List Title in order to get query in document library but it should use either list server relative URL or List Id
Thanks!
The text was updated successfully, but these errors were encountered: