sp-dev-docs
sp-dev-docs copied to clipboard
Property folderInfo is undefined if document set is loaded directly in browser url
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [X] 💥 Microsoft Edge
- [X] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version - chrome/edge latest
- SPFx version - 1.18.2
- Node.js version- 16.20.2
Describe the bug / error
The bug was previously reported #7974 . This is also happened on document set, the context.listView.folderInfo property is showing empty string when we directly access the document set. However if we access it from root folder it populates the folderInfo property correct.
Steps to reproduce
- Create a document library with
document setcontent type added - Create a document set
- Create the command set extension and continue steps as described on #7974
Expected behavior
folderInfo property should be populated when document set is directly accessed.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
@jonathanhotono - sorry for the long delay. There were recent changes that fixed some problems with SPFx extensions. Could you please check if the issue is still happening for you?
Thanks!
Hello @jonathanhotono, Thank you for bringing this issue to our attention. Could you please confirm if the issue still persists for you? We will look into it and get back to you shortly.
We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.