Skip to content

Error rendering library folder when opened from a QuickLaunch menu item #10072

@jikleveland

Description

@jikleveland

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

not applicable

Developer environment

None

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • latest browser version
  • modern team site without any modifications other than menuitems in the QuickLaunch and Teams connected

Describe the bug / error

I have a default modern team site connected to a Teams Team with a plain document library.
I've added a couple of menu-items in the Quicklaunch with address/link to a subfolder in the document library.
When clicking the menu-item it sometimes opens the library with the subfolder, sometimes opens the root of the library, and sometimes gives an error telling the elemt is moved or deleted.
The browser showses correct address - refreshing the browser bringes up the correct content - library view with the subfolder

Steps to reproduce

  1. Add a menu-item in the Quicklaunch menu with address: /sites/sitename/libraryname/foldername
  2. Save and refresh
  3. Click the menu-item addressing the sub-folder several times and click different menu-items

Edited:

I tested in another site, and there it works fine.
Difference when checking in dev tools & network treffic:
The failing site uses SP.List.GetListDataAsStream and params TryNewExperienceSingle: TRUE and listFullUrl that includes foldername

The working site simply requests the address from the menu-item.

Expected behavior

Expect to get the library view with the correct folder/subfolder every time user clicks the menu-item

Metadata

Metadata

Assignees

Labels

Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.sharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions