From a Microsoft Teams channel I click the button "Open in SharePoint". This in turn opens a new browser window with a deep link to the channel folder in the SharePoint document library. The folders and documents show up just fine - but the Details Pane in the modern list view yields the following error:
Cannot read property 'formType' of null.
The deep folder link from MS Teams looks like this:
That looks like a link to a folder in a SharePoint classic view! If I instead navigate within the SharePoint modern view, the link has this format:
That works fine - no error in the Details Pane. The error only shows when the following conditions are true:
- The document library is browsed in Modern view (Classic works)
- The SharePoint language is Danish or any other language than English
- The folder is opened with deep-link formatted as a classic link shown above.
Can anyone confirm if this is a known bug?
Or am I missing something?