sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

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

Open jonathanhotono opened this issue 1 year ago • 1 comments

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

jonathanhotono avatar Feb 23 '24 07:02 jonathanhotono

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

ghost avatar Feb 23 '24 07:02 ghost

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

AJIXuMuK avatar Aug 12 '24 14:08 AJIXuMuK

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.

Amey-MSFT avatar Jun 13 '25 10:06 Amey-MSFT

We are closing this issue for now. If the problem persists, feel free to reopen it or open a new one.

Amey-MSFT avatar Jul 03 '25 11:07 Amey-MSFT