SharePoint / sp-dev-docs

SharePoint & Viva Connections Developer Documentation
https://docs.microsoft.com/en-us/sharepoint/dev/
Creative Commons Attribution 4.0 International
1.24k stars 1.01k forks source link

Property folderInfo is undefined if document set is loaded directly in browser url #9541

Open jonathanhotono opened 7 months ago

jonathanhotono commented 7 months ago

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

Additional environment details

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. image

Steps to reproduce

  1. Create a document library with document set content type added
  2. Create a document set
  3. 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.

ghost commented 7 months ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

AJIXuMuK commented 1 month ago

@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!